Lines Matching refs:authkeylen
704 hash_parms.key_len = ctx->authkeylen; in handle_ahash_req()
1307 hash_parms.key_len = ctx->authkeylen; in handle_aead_req()
1311 (ctx->authkeylen < SHA224_DIGEST_SIZE)) in handle_aead_req()
1875 ctx->spu_resp_hdr_len = spu->spu_response_hdr_len(ctx->authkeylen, in skcipher_setkey()
1930 ctx->authkeylen); in ahash_enqueue()
1977 ctx->spu_resp_hdr_len = spu->spu_response_hdr_len(ctx->authkeylen, 0, in __ahash_init()
2044 if (ctx->authkeylen > 0) { in ahash_init()
2046 ctx->authkeylen); in ahash_init()
2275 ctx->authkeylen = keylen; in ahash_setkey()
2375 ctx->authkeylen = digestsize; in ahash_hmac_setkey()
2378 flow_dump(" newkey: ", ctx->authkey, ctx->authkeylen); in ahash_hmac_setkey()
2381 ctx->authkeylen = keylen; in ahash_hmac_setkey()
2390 memcpy(ctx->ipad, ctx->authkey, ctx->authkeylen); in ahash_hmac_setkey()
2391 memset(ctx->ipad + ctx->authkeylen, 0, in ahash_hmac_setkey()
2392 blocksize - ctx->authkeylen); in ahash_hmac_setkey()
2393 ctx->authkeylen = 0; in ahash_hmac_setkey()
2684 flow_log(" authkeylen:%u\n", ctx->authkeylen); in aead_enqueue()
2735 keys.authkeylen > MAX_KEY_SIZE) in aead_authenc_setkey()
2739 ctx->authkeylen = keys.authkeylen; in aead_authenc_setkey()
2744 memcpy(ctx->authkey, keys.authkey, keys.authkeylen); in aead_authenc_setkey()
2780 ctx->authkeylen); in aead_authenc_setkey()
2782 flow_dump(" auth: ", ctx->authkey, ctx->authkeylen); in aead_authenc_setkey()
2796 ctx->spu_resp_hdr_len = spu->spu_response_hdr_len(ctx->authkeylen, in aead_authenc_setkey()
2806 ctx->authkeylen = 0; in aead_authenc_setkey()
2828 ctx->authkeylen = 0; in aead_gcm_ccm_setkey()
2847 ctx->authkeylen); in aead_gcm_ccm_setkey()
2849 flow_dump(" auth: ", ctx->authkey, ctx->authkeylen); in aead_gcm_ccm_setkey()
2864 ctx->spu_resp_hdr_len = spu->spu_response_hdr_len(ctx->authkeylen, in aead_gcm_ccm_setkey()
2871 ctx->authkeylen); in aead_gcm_ccm_setkey()
2877 ctx->authkeylen = 0; in aead_gcm_ccm_setkey()
2985 __func__, ctx->authkeylen, authsize); in aead_setauthsize()
4104 ctx->authkeylen = 0; in generic_cra_init()