Home
last modified time | relevance | path

Searched full:ostate (Results 1 – 11 of 11) sorted by relevance

/linux/lib/crypto/
H A Dsha512.c254 struct sha512_block_state *ostate, in __hmac_sha512_preparekey() argument
280 *ostate = *iv; in __hmac_sha512_preparekey()
281 sha512_blocks(ostate, derived_key.b, 1); in __hmac_sha512_preparekey()
289 __hmac_sha512_preparekey(&key->key.istate, &key->key.ostate, in hmac_sha384_preparekey()
297 __hmac_sha512_preparekey(&key->key.istate, &key->key.ostate, in hmac_sha512_preparekey()
306 ctx->ostate = key->ostate; in __hmac_sha512_init()
313 __hmac_sha512_preparekey(&ctx->ctx.sha_ctx.state, &ctx->ctx.ostate, in hmac_sha384_init_usingrawkey()
323 __hmac_sha512_preparekey(&ctx->ctx.sha_ctx.state, &ctx->ctx.ostate, in hmac_sha512_init_usingrawkey()
342 sha512_blocks(&ctx->ostate, ctx->sha_ctx.buf, 1); in __hmac_sha512_final()
344 put_unaligned_be64(ctx->ostate.h[i / 8], out + i); in __hmac_sha512_final()
H A Dsha256.c329 struct sha256_block_state *ostate, in __hmac_sha256_preparekey() argument
355 *ostate = *iv; in __hmac_sha256_preparekey()
356 sha256_blocks(ostate, derived_key.b, 1); in __hmac_sha256_preparekey()
364 __hmac_sha256_preparekey(&key->key.istate, &key->key.ostate, in hmac_sha224_preparekey()
372 __hmac_sha256_preparekey(&key->key.istate, &key->key.ostate, in hmac_sha256_preparekey()
381 ctx->ostate = key->ostate; in __hmac_sha256_init()
388 __hmac_sha256_preparekey(&ctx->ctx.sha_ctx.state, &ctx->ctx.ostate, in hmac_sha224_init_usingrawkey()
397 __hmac_sha256_preparekey(&ctx->ctx.sha_ctx.state, &ctx->ctx.ostate, in hmac_sha256_init_usingrawkey()
415 sha256_blocks(&ctx->ostate, ctx->sha_ctx.buf, 1); in __hmac_sha256_final()
417 put_unaligned_be32(ctx->ostate.h[i / 4], out + i); in __hmac_sha256_final()
/linux/crypto/
H A Dsha256.c230 ctx->ctx.ostate = HMAC_SHA224_KEY(desc->tfm)->key.ostate; in crypto_hmac_sha224_import()
245 ctx->ctx.ostate = HMAC_SHA224_KEY(desc->tfm)->key.ostate; in crypto_hmac_sha224_import_core()
297 ctx->ctx.ostate = HMAC_SHA256_KEY(desc->tfm)->key.ostate; in crypto_hmac_sha256_import()
312 ctx->ctx.ostate = HMAC_SHA256_KEY(desc->tfm)->key.ostate; in crypto_hmac_sha256_import_core()
H A Dsha512.c236 ctx->ctx.ostate = HMAC_SHA384_KEY(desc->tfm)->key.ostate; in crypto_hmac_sha384_import()
251 ctx->ctx.ostate = HMAC_SHA384_KEY(desc->tfm)->key.ostate; in crypto_hmac_sha384_import_core()
303 ctx->ctx.ostate = HMAC_SHA512_KEY(desc->tfm)->key.ostate; in crypto_hmac_sha512_import()
318 ctx->ctx.ostate = HMAC_SHA512_KEY(desc->tfm)->key.ostate; in crypto_hmac_sha512_import_core()
H A Dmd5.c160 ctx->ostate = HMAC_MD5_KEY(desc->tfm)->ostate; in crypto_hmac_md5_import()
173 ctx->ostate = HMAC_MD5_KEY(desc->tfm)->ostate; in crypto_hmac_md5_import_core()
H A Dsha1.c164 ctx->ostate = HMAC_SHA1_KEY(desc->tfm)->ostate; in crypto_hmac_sha1_import()
177 ctx->ostate = HMAC_SHA1_KEY(desc->tfm)->ostate; in crypto_hmac_sha1_import_core()
/linux/include/crypto/
H A Dmd5.h94 * @ostate: private
98 struct md5_block_state ostate; member
104 * @ostate: private
108 struct md5_block_state ostate; member
H A Dsha2.h141 struct sha256_block_state ostate; member
145 struct sha256_block_state ostate; member
554 struct sha512_block_state ostate; member
558 struct sha512_block_state ostate; member
/linux/drivers/gpu/drm/tidss/
H A Dtidss_crtc.c126 struct drm_atomic_state *ostate = old_state->state; in tidss_crtc_position_planes() local
141 for_each_new_plane_in_state(ostate, plane, pstate, i) { in tidss_crtc_position_planes()
/linux/drivers/crypto/inside-secure/
H A Dsafexcel_hash.c1116 void *istate, void *ostate) in __safexcel_hmac_setkey() argument
1153 ret = safexcel_hmac_init_iv(areq, blocksize, opad, ostate); in __safexcel_hmac_setkey()
1170 struct safexcel_ahash_export_state istate, ostate; in safexcel_hmac_setkey() local
1173 ret = __safexcel_hmac_setkey(alg, key, keylen, &istate, &ostate); in safexcel_hmac_setkey()
1179 memcmp(&base->opad, ostate.state, state_sz))) in safexcel_hmac_setkey()
1183 memcpy(&base->opad, &ostate.state, state_sz); in safexcel_hmac_setkey()
/linux/sound/core/oss/
H A Dpcm_oss.c2876 snd_pcm_state_t ostate; in snd_pcm_oss_mmap()
2879 ostate = runtime->state; in snd_pcm_oss_mmap()
2880 if (ostate != SNDRV_PCM_STATE_RUNNING || in snd_pcm_oss_mmap()
2884 if (ostate != SNDRV_PCM_STATE_RUNNING && in snd_pcm_oss_mmap()
2853 snd_pcm_state_t ostate; snd_pcm_oss_poll() local