Searched refs:k_opad (Results 1 – 3 of 3) sorted by relevance
/haiku/src/libs/compat/openbsd_wlan/crypto/ |
H A D | hmac.c | 68 u_int8_t k_opad[MD5_BLOCK_LENGTH]; in HMAC_MD5_Final() local 73 bzero(k_opad, MD5_BLOCK_LENGTH); in HMAC_MD5_Final() 74 memcpy(k_opad, ctx->key, ctx->key_len); in HMAC_MD5_Final() 76 k_opad[i] ^= 0x5c; in HMAC_MD5_Final() 79 MD5Update(&ctx->ctx, k_opad, MD5_BLOCK_LENGTH); in HMAC_MD5_Final() 83 explicit_bzero(k_opad, sizeof k_opad); in HMAC_MD5_Final() 122 u_int8_t k_opad[SHA1_BLOCK_LENGTH]; in HMAC_SHA1_Final() local 127 bzero(k_opad, SHA1_BLOCK_LENGTH); in HMAC_SHA1_Final() 128 memcpy(k_opad, ctx->key, ctx->key_len); in HMAC_SHA1_Final() 130 k_opad[i] ^= 0x5c; in HMAC_SHA1_Final() [all …]
|
/haiku/src/add-ons/mail_daemon/inbound_protocols/pop3/ |
H A D | md5c.c | 339 unsigned char k_opad[64]; /* outer padding - in MD5Hmac() local 347 memset(k_opad, 0, sizeof k_opad); in MD5Hmac() 355 MD5Final(k_opad, &tctx); in MD5Hmac() 358 memcpy(k_opad, key, key_len); in MD5Hmac() 376 k_opad[i] ^= 0x5c; in MD5Hmac() 392 MD5Update(&context, k_opad, 64); /* start with outer pad */ in MD5Hmac()
|
/haiku/src/add-ons/mail_daemon/outbound_protocols/smtp/ |
H A D | SMTP.cpp | 84 unsigned char k_opad[64]; in MD5Hmac() local 90 memset(k_opad, 0, sizeof k_opad); in MD5Hmac() 98 MD5_Final(k_opad, &tctx); in MD5Hmac() 101 memcpy(k_opad, key, key_len); in MD5Hmac() 118 k_opad[i] ^= 0x5c; in MD5Hmac() 134 MD5_Update(&context, k_opad, 64); /* start with outer pad */ in MD5Hmac()
|