Searched refs:k_ipad (Results 1 – 3 of 3) sorted by relevance
/haiku/src/libs/compat/openbsd_wlan/crypto/ |
H A D | hmac.c | 35 u_int8_t k_ipad[MD5_BLOCK_LENGTH]; in HMAC_MD5_Init() local 48 bzero(k_ipad, MD5_BLOCK_LENGTH); in HMAC_MD5_Init() 49 memcpy(k_ipad, ctx->key, ctx->key_len); in HMAC_MD5_Init() 51 k_ipad[i] ^= 0x36; in HMAC_MD5_Init() 54 MD5Update(&ctx->ctx, k_ipad, MD5_BLOCK_LENGTH); in HMAC_MD5_Init() 56 explicit_bzero(k_ipad, sizeof k_ipad); in HMAC_MD5_Init() 89 u_int8_t k_ipad[SHA1_BLOCK_LENGTH]; in HMAC_SHA1_Init() local 102 bzero(k_ipad, SHA1_BLOCK_LENGTH); in HMAC_SHA1_Init() 103 memcpy(k_ipad, ctx->key, ctx->key_len); in HMAC_SHA1_Init() 105 k_ipad[i] ^= 0x36; in HMAC_SHA1_Init() [all …]
|
/haiku/src/add-ons/mail_daemon/inbound_protocols/pop3/ |
H A D | md5c.c | 336 unsigned char k_ipad[64]; /* inner padding - in MD5Hmac() local 346 memset(k_ipad, 0, sizeof k_ipad); in MD5Hmac() 354 MD5Final(k_ipad, &tctx); in MD5Hmac() 357 memcpy(k_ipad, key, key_len); in MD5Hmac() 375 k_ipad[i] ^= 0x36; in MD5Hmac() 384 MD5Update(&context, k_ipad, 64); /* start with inner pad */ in MD5Hmac()
|
/haiku/src/add-ons/mail_daemon/outbound_protocols/smtp/ |
H A D | SMTP.cpp | 82 unsigned char k_ipad[64]; in MD5Hmac() local 89 memset(k_ipad, 0, sizeof k_ipad); in MD5Hmac() 97 MD5_Final(k_ipad, &tctx); in MD5Hmac() 100 memcpy(k_ipad, key, key_len); in MD5Hmac() 117 k_ipad[i] ^= 0x36; in MD5Hmac() 126 MD5_Update(&context, k_ipad, 64); /* start with inner pad */ in MD5Hmac()
|