Lines Matching refs:authkey
707 hash_parms.key_buf = (u8 *)ctx->authkey; in handle_ahash_req()
1312 hash_parms.key_buf = (u8 *)ctx->authkey; in handle_aead_req()
1935 NULL, 0, NULL, 0, ctx->authkey, in ahash_enqueue()
2051 ret = crypto_shash_setkey(hash, ctx->authkey, in ahash_init()
2280 memcpy(ctx->authkey, key, keylen); in ahash_setkey()
2333 rc = do_shash("md5", ctx->authkey, key, keylen, NULL, in ahash_hmac_setkey()
2337 rc = do_shash("sha1", ctx->authkey, key, keylen, NULL, in ahash_hmac_setkey()
2341 rc = do_shash("sha224", ctx->authkey, key, keylen, NULL, in ahash_hmac_setkey()
2345 rc = do_shash("sha256", ctx->authkey, key, keylen, NULL, in ahash_hmac_setkey()
2349 rc = do_shash("sha384", ctx->authkey, key, keylen, NULL, in ahash_hmac_setkey()
2353 rc = do_shash("sha512", ctx->authkey, key, keylen, NULL, in ahash_hmac_setkey()
2357 rc = do_shash("sha3-224", ctx->authkey, key, keylen, in ahash_hmac_setkey()
2361 rc = do_shash("sha3-256", ctx->authkey, key, keylen, in ahash_hmac_setkey()
2365 rc = do_shash("sha3-384", ctx->authkey, key, keylen, in ahash_hmac_setkey()
2369 rc = do_shash("sha3-512", ctx->authkey, key, keylen, in ahash_hmac_setkey()
2384 flow_dump(" newkey: ", ctx->authkey, ctx->authkeylen); in ahash_hmac_setkey()
2386 memcpy(ctx->authkey, key, keylen); in ahash_hmac_setkey()
2396 memcpy(ctx->ipad, ctx->authkey, ctx->authkeylen); in ahash_hmac_setkey()
2782 memset(ctx->authkey, 0, sizeof(ctx->authkey)); in aead_authenc_setkey()
2783 memcpy(ctx->authkey, keys.authkey, keys.authkeylen); in aead_authenc_setkey()
2821 flow_dump(" auth: ", ctx->authkey, ctx->authkeylen); in aead_authenc_setkey()
2888 flow_dump(" auth: ", ctx->authkey, ctx->authkeylen); in aead_gcm_ccm_setkey()