Lines Matching refs:opad
27 mbedtls_platform_zeroize(hmac->opad, sizeof(hmac->opad));
48 /* The size checks against the ipad and opad buffers cannot be written
49 * `block_size > sizeof( ipad ) || block_size > sizeof( hmac->opad )`
54 if (block_size > sizeof(hmac->opad)) {
83 /* Copy the key material from ipad to opad, flipping the requisite bits,
84 * and filling the rest of opad with the requisite constant. */
86 hmac->opad[i] = ipad[i] ^ 0x36 ^ 0x5C;
88 memset(hmac->opad + key_length, 0x5C, block_size - key_length);
133 status = psa_hash_update(&hmac->hash_ctx, hmac->opad, block_size);