Lines Matching refs:protkey
137 pk->protkey, &pk->len, &pk->type); in __paes_keyblob2pkey()
148 pkey.len = sizeof(pkey.protkey); in __paes_convert_key()
227 memcpy(param.key, ctx->pk.protkey, MAXPROTKEYSIZE); in ecb_paes_crypt()
241 memcpy(param.key, ctx->pk.protkey, MAXPROTKEYSIZE); in ecb_paes_crypt()
344 memcpy(param.key, ctx->pk.protkey, MAXPROTKEYSIZE); in cbc_paes_crypt()
360 memcpy(param.key, ctx->pk.protkey, MAXPROTKEYSIZE); in cbc_paes_crypt()
418 pkey0.len = sizeof(pkey0.protkey); in __xts_paes_convert_key()
419 pkey1.len = sizeof(pkey1.protkey); in __xts_paes_convert_key()
487 memcpy(ckey, ctx->pk[0].protkey, ckey_len); in xts_paes_set_key()
488 memcpy(ckey + ckey_len, ctx->pk[1].protkey, ckey_len); in xts_paes_set_key()
521 memcpy(pcc_param.key + offset, ctx->pk[1].protkey, keylen); in xts_paes_crypt()
522 memcpy(xts_param.key + offset, ctx->pk[0].protkey, keylen); in xts_paes_crypt()
539 ctx->pk[0].protkey, keylen); in xts_paes_crypt()
659 memcpy(param.key, ctx->pk.protkey, MAXPROTKEYSIZE); in ctr_paes_crypt()
685 memcpy(param.key, ctx->pk.protkey, MAXPROTKEYSIZE); in ctr_paes_crypt()
705 memcpy(param.key, ctx->pk.protkey, MAXPROTKEYSIZE); in ctr_paes_crypt()