Home
last modified time | relevance | path

Searched refs:ctx_template (Results 1 – 14 of 14) sorted by relevance

/titanic_50/usr/src/uts/common/fs/zfs/
H A Dskein_zfs.c36 const void *ctx_template, zio_cksum_t *zcp) in zio_checksum_skein_native() argument
40 ASSERT(ctx_template != NULL); in zio_checksum_skein_native()
41 bcopy(ctx_template, &ctx, sizeof (ctx)); in zio_checksum_skein_native()
54 const void *ctx_template, zio_cksum_t *zcp) in zio_checksum_skein_byteswap() argument
58 zio_checksum_skein_native(buf, size, ctx_template, &tmp); in zio_checksum_skein_byteswap()
85 zio_checksum_skein_tmpl_free(void *ctx_template) in zio_checksum_skein_tmpl_free() argument
87 Skein_512_Ctxt_t *ctx = ctx_template; in zio_checksum_skein_tmpl_free()
H A Dedonr_zfs.c38 const void *ctx_template, zio_cksum_t *zcp) in zio_checksum_edonr_native() argument
43 ASSERT(ctx_template != NULL); in zio_checksum_edonr_native()
44 bcopy(ctx_template, &ctx, sizeof (ctx)); in zio_checksum_edonr_native()
55 const void *ctx_template, zio_cksum_t *zcp) in zio_checksum_edonr_byteswap() argument
59 zio_checksum_edonr_native(buf, size, ctx_template, &tmp); in zio_checksum_edonr_byteswap()
96 zio_checksum_edonr_tmpl_free(void *ctx_template) in zio_checksum_edonr_tmpl_free() argument
98 EdonRState *ctx = ctx_template; in zio_checksum_edonr_tmpl_free()
H A Dsha256.c35 const void *ctx_template, zio_cksum_t *zcp) in zio_checksum_SHA256() argument
60 const void *ctx_template, zio_cksum_t *zcp) in zio_checksum_SHA512_native() argument
72 const void *ctx_template, zio_cksum_t *zcp) in zio_checksum_SHA512_byteswap() argument
76 zio_checksum_SHA512_native(buf, size, ctx_template, &tmp); in zio_checksum_SHA512_byteswap()
H A Dzio_checksum.c97 const void *ctx_template, zio_cksum_t *zcp) in zio_checksum_off() argument
/titanic_50/usr/src/common/zfs/
H A Dzfs_fletcher.c140 const void *ctx_template, zio_cksum_t *zcp) in fletcher_2_native() argument
159 const void *ctx_template, zio_cksum_t *zcp) in fletcher_2_byteswap() argument
178 const void *ctx_template, zio_cksum_t *zcp) in fletcher_4_native() argument
197 const void *ctx_template, zio_cksum_t *zcp) in fletcher_4_byteswap() argument
/titanic_50/usr/src/uts/common/fs/zfs/sys/
H A Dzio_checksum.h41 const void *ctx_template, zio_cksum_t *zcp);
43 typedef void zio_checksum_tmpl_free_t(void *ctx_template);
/titanic_50/usr/src/uts/common/crypto/io/
H A Dskein_mod.c717 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, in skein_mac_init() argument
727 if (ctx_template != NULL) { in skein_mac_init()
728 bcopy(ctx_template, SKEIN_CTX(ctx), in skein_mac_init()
757 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) in skein_mac_atomic() argument
765 if (ctx_template != NULL) { in skein_mac_atomic()
766 bcopy(ctx_template, &skein_ctx, sizeof (skein_ctx)); in skein_mac_atomic()
797 crypto_spi_ctx_template_t *ctx_template, size_t *ctx_template_size, in skein_create_ctx_template() argument
809 *ctx_template = ctx_tmpl; in skein_create_ctx_template()
H A Dmd5_mod.c902 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, in md5_mac_init() argument
921 if (ctx_template != NULL) { in md5_mac_init()
923 bcopy(ctx_template, PROV_MD5_HMAC_CTX(ctx), in md5_mac_init()
1112 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) in md5_mac_atomic() argument
1128 if (ctx_template != NULL) { in md5_mac_atomic()
1130 bcopy(ctx_template, &md5_hmac_ctx, sizeof (md5_hmac_ctx_t)); in md5_mac_atomic()
1232 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) in md5_mac_verify_atomic() argument
1248 if (ctx_template != NULL) { in md5_mac_verify_atomic()
1250 bcopy(ctx_template, &md5_hmac_ctx, sizeof (md5_hmac_ctx_t)); in md5_mac_verify_atomic()
1426 crypto_spi_ctx_template_t *ctx_template, size_t *ctx_template_size, in md5_create_ctx_template() argument
[all …]
H A Dsha1_mod.c845 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, in sha1_mac_init() argument
864 if (ctx_template != NULL) { in sha1_mac_init()
866 bcopy(ctx_template, PROV_SHA1_HMAC_CTX(ctx), in sha1_mac_init()
1054 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) in sha1_mac_atomic() argument
1070 if (ctx_template != NULL) { in sha1_mac_atomic()
1072 bcopy(ctx_template, &sha1_hmac_ctx, sizeof (sha1_hmac_ctx_t)); in sha1_mac_atomic()
1174 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) in sha1_mac_verify_atomic() argument
1190 if (ctx_template != NULL) { in sha1_mac_verify_atomic()
1192 bcopy(ctx_template, &sha1_hmac_ctx, sizeof (sha1_hmac_ctx_t)); in sha1_mac_verify_atomic()
1367 crypto_spi_ctx_template_t *ctx_template, size_t *ctx_template_size, in sha1_create_ctx_template() argument
[all …]
H A Dsha2_mod.c916 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, in sha2_mac_init() argument
953 if (ctx_template != NULL) { in sha2_mac_init()
955 bcopy(ctx_template, PROV_SHA2_HMAC_CTX(ctx), in sha2_mac_init()
1160 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) in sha2_mac_atomic() argument
1193 if (ctx_template != NULL) { in sha2_mac_atomic()
1195 bcopy(ctx_template, &sha2_hmac_ctx, sizeof (sha2_hmac_ctx_t)); in sha2_mac_atomic()
1302 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) in sha2_mac_verify_atomic() argument
1335 if (ctx_template != NULL) { in sha2_mac_verify_atomic()
1337 bcopy(ctx_template, &sha2_hmac_ctx, sizeof (sha2_hmac_ctx_t)); in sha2_mac_verify_atomic()
1521 crypto_spi_ctx_template_t *ctx_template, size_t *ctx_template_size, in sha2_create_ctx_template() argument
[all …]
H A Decc.c467 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, in ecc_sign_verify_common_init() argument
547 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, in ecc_sign_init() argument
559 ctx_template, req); in ecc_sign_init()
567 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, in ecc_verify_init() argument
579 ctx_template, req); in ecc_verify_init()
783 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) in ecc_sign_atomic() argument
980 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) in ecc_verify_atomic() argument
H A Ddca.c3692 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, in dca_encrypt_init() argument
3876 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) in dca_encrypt_atomic() argument
3883 if (ctx_template != NULL) in dca_encrypt_atomic()
3926 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, in dca_decrypt_init() argument
4111 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) in dca_decrypt_atomic() argument
4118 if (ctx_template != NULL) in dca_decrypt_atomic()
4165 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, in dca_sign_init() argument
4177 if (ctx_template != NULL) in dca_sign_init()
4295 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) in dca_sign_atomic() argument
4302 if (ctx_template != NULL) in dca_sign_atomic()
[all …]
H A Ddprov.c2118 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, in dprov_mac_init() argument
2137 if (ctx_template != NULL) in dprov_mac_init()
2222 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) in dprov_mac_atomic() argument
2232 if (ctx_template != NULL) in dprov_mac_atomic()
2256 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) in dprov_mac_verify_atomic() argument
2267 if (ctx_template != NULL) in dprov_mac_verify_atomic()
2338 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, in dprov_encrypt_init() argument
2446 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) in dprov_encrypt_atomic() argument
2456 if (ctx_template != NULL) in dprov_encrypt_atomic()
2479 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, in dprov_decrypt_init() argument
[all …]
H A Drsa.c847 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, in rsa_sign_verify_common_init() argument
1217 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) in rsa_sign_atomic() argument
1417 crypto_data_t *signature, crypto_spi_ctx_template_t ctx_template, in rsa_verify_atomic() argument
1545 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) in rsa_verify_recover_atomic() argument