Searched refs:octx (Results 1 - 11 of 11) sorted by relevance

/freebsd-13-stable/sys/contrib/libsodium/src/libsodium/crypto_auth/hmacsha256/
H A Dauth_hmacsha256.c58 crypto_hash_sha256_init(&state->octx);
63 crypto_hash_sha256_update(&state->octx, pad, 64);
87 crypto_hash_sha256_update(&state->octx, ihash, 32);
88 crypto_hash_sha256_final(&state->octx, out);
/freebsd-13-stable/sys/contrib/libsodium/src/libsodium/crypto_auth/hmacsha512/
H A Dauth_hmacsha512.c58 crypto_hash_sha512_init(&state->octx);
63 crypto_hash_sha512_update(&state->octx, pad, 128);
87 crypto_hash_sha512_update(&state->octx, ihash, 64);
88 crypto_hash_sha512_final(&state->octx, out);
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_swapcontext.c42 ucontext_t octx; variable
64 ATF_REQUIRE(swapcontext(&nctx, &octx));
97 ATF_REQUIRE(swapcontext(&octx, &nctx) == 0);
/freebsd-13-stable/contrib/netbsd-tests/lib/libpthread/
H A Dt_swapcontext.c47 ucontext_t octx; variable
66 ATF_REQUIRE(swapcontext(&nctx, &octx));
83 ATF_REQUIRE_MSG(swapcontext(&octx, &nctx) != -1, "swapcontext failed: %s",
/freebsd-13-stable/crypto/openssl/crypto/evp/
H A De_aes.c481 EVP_AES_OCB_CTX *octx = EVP_C_DATA(EVP_AES_OCB_CTX,ctx); local
492 &octx->ksenc.ks);
494 &octx->ksdec.ks);
495 if (!CRYPTO_ocb128_init(&octx->ocb,
496 &octx->ksenc.ks, &octx->ksdec.ks,
508 if (iv == NULL && octx->iv_set)
509 iv = octx->iv;
511 if (CRYPTO_ocb128_setiv(&octx->ocb, iv, octx
905 EVP_AES_OCB_CTX *octx = EVP_C_DATA(EVP_AES_OCB_CTX,ctx); local
3971 EVP_AES_OCB_CTX *octx = EVP_C_DATA(EVP_AES_OCB_CTX,c); local
4058 EVP_AES_OCB_CTX *octx = EVP_C_DATA(EVP_AES_OCB_CTX,ctx); local
4142 EVP_AES_OCB_CTX *octx = EVP_C_DATA(EVP_AES_OCB_CTX,ctx); local
4286 EVP_AES_OCB_CTX *octx = EVP_C_DATA(EVP_AES_OCB_CTX,c); local
[all...]
/freebsd-13-stable/sys/contrib/libsodium/src/libsodium/include/sodium/
H A Dcrypto_auth_hmacsha256.h40 crypto_hash_sha256_state octx; member in struct:crypto_auth_hmacsha256_state
H A Dcrypto_auth_hmacsha512.h40 crypto_hash_sha512_state octx; member in struct:crypto_auth_hmacsha512_state
/freebsd-13-stable/crypto/openssh/
H A Dhmac.c30 struct ssh_digest_ctx *octx; member in struct:ssh_hmac_ctx
51 (ret->octx = ssh_digest_start(alg)) == NULL ||
68 /* reset ictx and octx if no is key given */
82 if (ssh_digest_update(ctx->octx, ctx->buf, ctx->buf_len) < 0)
113 /* switch to octx */
114 if (ssh_digest_copy_state(ctx->octx, ctx->digest) < 0 ||
126 ssh_digest_free(ctx->octx);
H A Dumac.c1220 struct umac_ctx *ctx, *octx; local
1224 octx = ctx = xcalloc(1, sizeof(*ctx) + ALLOC_BOUNDARY);
1231 ctx->free_ptr = octx;
/freebsd-13-stable/sys/crypto/openssl/
H A Dossl.c60 struct ossl_hash_context octx; member in struct:ossl_session_hash
167 hmac_init_opad(s->hash.axf, key, klen, &s->hash.octx);
242 ctx = s->hash.octx;
/freebsd-13-stable/crypto/openssl/crypto/modes/
H A Docb128.c134 OCB128_CONTEXT *octx; local
137 if ((octx = OPENSSL_malloc(sizeof(*octx))) != NULL) {
138 ret = CRYPTO_ocb128_init(octx, keyenc, keydec, encrypt, decrypt,
141 return octx;
142 OPENSSL_free(octx);

Completed in 128 milliseconds