Lines Matching refs:okey
78 * HMAC(msg) is defined as HASH(okey + HASH(ikey + msg)) where + means
79 * concatenation, and okey/ikey are the XOR of the key with some fixed bit
82 * We'll first compute ikey/okey, then inner_hash = HASH(ikey + msg) by
87 * Then we only need to compute HASH(okey + inner_hash) and we're done.
156 /* Calculate okey */
164 /* Now compute HASH(okey + inner_hash) */
198 * HMAC(msg) is defined as HASH(okey + HASH(ikey + msg)) where + means
199 * concatenation, and okey/ikey are the XOR of the key with some fixed bit
206 * Then we only need to compute HASH(okey + inner_hash) and we're done.
213 const unsigned char * const okey = ikey + block_size;
259 /* Now compute HASH(okey + inner_hash) */
261 MD_CHK(mbedtls_md_update(ctx, okey, block_size));