Home
last modified time | relevance | path

Searched refs:ipad (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/crypto/
Dhmac.c50 char *ipad = crypto_shash_ctx_aligned(parent); in hmac_setkey() local
51 char *opad = ipad + ss; in hmac_setkey()
68 err = crypto_shash_digest(&desc.shash, inkey, keylen, ipad); in hmac_setkey()
74 memcpy(ipad, inkey, keylen); in hmac_setkey()
76 memset(ipad + keylen, 0, bs - keylen); in hmac_setkey()
77 memcpy(opad, ipad, bs); in hmac_setkey()
80 ipad[i] ^= 0x36; in hmac_setkey()
85 crypto_shash_update(&desc.shash, ipad, bs) ?: in hmac_setkey()
86 crypto_shash_export(&desc.shash, ipad) ?: in hmac_setkey()
/linux-2.6.39/drivers/crypto/
Dmv_cesa.c787 char ipad[ss]; in mv_hash_setkey() local
798 crypto_shash_digest(&desc.shash, key, keylen, ipad); in mv_hash_setkey()
804 memcpy(ipad, key, keylen); in mv_hash_setkey()
806 memset(ipad + keylen, 0, bs - keylen); in mv_hash_setkey()
807 memcpy(opad, ipad, bs); in mv_hash_setkey()
810 ipad[i] ^= 0x36; in mv_hash_setkey()
815 crypto_shash_update(&desc.shash, ipad, bs) ? : in mv_hash_setkey()
816 crypto_shash_export(&desc.shash, ipad) ? : in mv_hash_setkey()
822 mv_hash_init_ivs(ctx, ipad, opad); in mv_hash_setkey()
Domap-sham.c119 u8 ipad[SHA1_MD5_BLOCK_SIZE]; member
570 memcpy(ctx->buffer, bctx->ipad, SHA1_MD5_BLOCK_SIZE); in omap_sham_init()
869 key, keylen, bctx->ipad); in omap_sham_setkey()
874 memcpy(bctx->ipad, key, keylen); in omap_sham_setkey()
877 memset(bctx->ipad + keylen, 0, bs - keylen); in omap_sham_setkey()
878 memcpy(bctx->opad, bctx->ipad, bs); in omap_sham_setkey()
881 bctx->ipad[i] ^= 0x36; in omap_sham_setkey()
/linux-2.6.39/drivers/scsi/
Deata.c703 ushort ipad[247]; member
1111 if (read_pio(port_base, (ushort *) & info, (ushort *) & info.ipad[0])) { in port_detect()