| /freebsd/crypto/openssl/crypto/evp/ |
| H A D | e_aes.c | 361 EVP_AES_OCB_CTX *octx = EVP_C_DATA(EVP_AES_OCB_CTX, ctx); in aesni_ocb_init_key() local 379 aesni_set_encrypt_key(key, keylen, &octx->ksenc.ks); in aesni_ocb_init_key() 380 aesni_set_decrypt_key(key, keylen, &octx->ksdec.ks); in aesni_ocb_init_key() 381 if (!CRYPTO_ocb128_init(&octx->ocb, in aesni_ocb_init_key() 382 &octx->ksenc.ks, &octx->ksdec.ks, in aesni_ocb_init_key() 393 if (iv == NULL && octx->iv_set) in aesni_ocb_init_key() 394 iv = octx->iv; in aesni_ocb_init_key() 396 if (CRYPTO_ocb128_setiv(&octx->ocb, iv, octx->ivlen, octx->taglen) in aesni_ocb_init_key() 399 octx->iv_set = 1; in aesni_ocb_init_key() 401 octx->key_set = 1; in aesni_ocb_init_key() [all …]
|
| /freebsd/sys/contrib/libsodium/src/libsodium/crypto_auth/hmacsha256/ |
| H A D | auth_hmacsha256.c | 58 crypto_hash_sha256_init(&state->octx); in crypto_auth_hmacsha256_init() 63 crypto_hash_sha256_update(&state->octx, pad, 64); in crypto_auth_hmacsha256_init() 87 crypto_hash_sha256_update(&state->octx, ihash, 32); in crypto_auth_hmacsha256_final() 88 crypto_hash_sha256_final(&state->octx, out); in crypto_auth_hmacsha256_final()
|
| /freebsd/sys/contrib/libsodium/src/libsodium/crypto_auth/hmacsha512/ |
| H A D | auth_hmacsha512.c | 58 crypto_hash_sha512_init(&state->octx); in crypto_auth_hmacsha512_init() 63 crypto_hash_sha512_update(&state->octx, pad, 128); in crypto_auth_hmacsha512_init() 87 crypto_hash_sha512_update(&state->octx, ihash, 64); in crypto_auth_hmacsha512_final() 88 crypto_hash_sha512_final(&state->octx, out); in crypto_auth_hmacsha512_final()
|
| /freebsd/crypto/openssh/ |
| H A D | hmac.c | 31 struct ssh_digest_ctx *octx; member 52 (ret->octx = ssh_digest_start(alg)) == NULL || in ssh_hmac_start() 83 if (ssh_digest_update(ctx->octx, ctx->buf, ctx->buf_len) < 0) in ssh_hmac_init() 115 if (ssh_digest_copy_state(ctx->octx, ctx->digest) < 0 || in ssh_hmac_final() 127 ssh_digest_free(ctx->octx); in ssh_hmac_free()
|
| H A D | umac.c | 1223 struct umac_ctx *ctx, *octx; in umac_new() local 1227 octx = ctx = xcalloc(1, sizeof(*ctx) + ALLOC_BOUNDARY); in umac_new() 1234 ctx->free_ptr = octx; in umac_new()
|
| /freebsd/contrib/netbsd-tests/lib/libpthread/ |
| H A D | t_swapcontext.c | 47 ucontext_t octx; variable 66 ATF_REQUIRE(swapcontext(&nctx, &octx)); in swapfunc() 83 ATF_REQUIRE_MSG(swapcontext(&octx, &nctx) != -1, "swapcontext failed: %s", in threadfunc()
|
| /freebsd/contrib/netbsd-tests/lib/libc/sys/ |
| H A D | t_swapcontext.c | 42 ucontext_t octx; variable 64 ATF_REQUIRE(swapcontext(&nctx, &octx)); in swapfunc() 97 ATF_REQUIRE(swapcontext(&octx, &nctx) == 0); in mainfunc()
|
| /freebsd/crypto/openssl/crypto/modes/ |
| H A D | ocb128.c | 134 OCB128_CONTEXT *octx; in CRYPTO_ocb128_new() local 137 if ((octx = OPENSSL_malloc(sizeof(*octx))) != NULL) { in CRYPTO_ocb128_new() 138 ret = CRYPTO_ocb128_init(octx, keyenc, keydec, encrypt, decrypt, in CRYPTO_ocb128_new() 141 return octx; in CRYPTO_ocb128_new() 142 OPENSSL_free(octx); in CRYPTO_ocb128_new()
|
| /freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/ |
| H A D | crypto_auth_hmacsha256.h | 40 crypto_hash_sha256_state octx; member
|
| H A D | crypto_auth_hmacsha512.h | 40 crypto_hash_sha512_state octx; member
|
| /freebsd/sys/crypto/openssl/ |
| H A D | ossl.h | 63 struct ossl_hash_context octx; member
|
| H A D | ossl.c | 241 csp->csp_auth_klen, &s->hash.octx); in ossl_newsession_hash() 352 ctx = s->hash.octx; in ossl_process_hash()
|
| /freebsd/crypto/krb5/src/lib/krb5/ccache/ |
| H A D | cc_kcm.c | 1288 krb5_os_context octx = &context->os_context; in kcm_replace() local 1292 offset = (octx->os_flags & KRB5_OS_TOFFSET_VALID) ? octx->time_offset : 0; in kcm_replace()
|