Searched refs:do_shash (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/crypto/bcm/ |
H A D | util.h | 102 int do_shash(unsigned char *name, unsigned char *result,
|
H A D | cipher.c | 906 rc = do_shash("md5", req->result, ctx->opad, blocksize, in spu_hmac_outer_hash() 910 rc = do_shash("sha1", req->result, ctx->opad, blocksize, in spu_hmac_outer_hash() 914 rc = do_shash("sha224", req->result, ctx->opad, blocksize, in spu_hmac_outer_hash() 918 rc = do_shash("sha256", req->result, ctx->opad, blocksize, in spu_hmac_outer_hash() 1933 err = do_shash((unsigned char *)alg_name, req->result, in ahash_enqueue() 2332 rc = do_shash("md5", ctx->authkey, key, keylen, NULL, in ahash_hmac_setkey() 2336 rc = do_shash("sha1", ctx->authkey, key, keylen, NULL, in ahash_hmac_setkey() 2356 rc = do_shash("sha3-224", ctx->authkey, key, keylen, in ahash_hmac_setkey() 2360 rc = do_shash("sha3-256", ctx->authkey, key, keylen, in ahash_hmac_setkey() 2364 rc = do_shash("sha3-384", ctx->authkey, key, keylen, in ahash_hmac_setkey() [all …]
|
H A D | util.c | 210 int do_shash(unsigned char *name, unsigned char *result, in do_shash() function
|