K
#define C_PRIME (((C - J) * K / 256.0) + J)
#define M_PRIME (K / 256.0 * M)
XOR(K, ctx->M_last);
if (K[0] & 0x80) {
LSHIFT(K, K);
K[15] ^= 0x87;
LSHIFT(K, K);
XOR(K, ctx->M_last);
explicit_bzero(K, sizeof K);
u_int8_t K[16];
memset(K, 0, sizeof K);
AES_Encrypt(&ctx->aesctx, K, K);
if (K[0] & 0x80) {
LSHIFT(K, K);
K[15] ^= 0x87;
LSHIFT(K, K);
aes_key_wrap_set_key(aes_key_wrap_ctx *ctx, const u_int8_t *K, size_t K_len)
AES_Setkey(&ctx->ctx, K, K_len);
aes_key_wrap_set_key_wrap_only(aes_key_wrap_ctx *ctx, const u_int8_t *K,
AES_Setkey(&ctx->ctx, K, K_len);
const uint8_t * K = (const uint8_t *)_K;
ctx->ictx.Update(K, Klen);
K = khash;
pad[i] ^= K[i];
pad[i] ^= K[i];