/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | edonr_zfs.c | 38 const void *ctx_template, zio_cksum_t *zcp) 43 ASSERT(ctx_template != NULL); 44 bcopy(ctx_template, &ctx, sizeof (ctx)); 55 const void *ctx_template, zio_cksum_t *zcp) 59 zio_checksum_edonr_native(buf, size, ctx_template, &tmp); 96 zio_checksum_edonr_tmpl_free(void *ctx_template) argument 98 EdonRState *ctx = ctx_template; 37 zio_checksum_edonr_native(const void *buf, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument 54 zio_checksum_edonr_byteswap(const void *buf, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument
|
H A D | skein_zfs.c | 30 * function requires the presence of a ctx_template that should be allocated 36 const void *ctx_template, zio_cksum_t *zcp) 40 ASSERT(ctx_template != NULL); 41 bcopy(ctx_template, &ctx, sizeof (ctx)); 54 const void *ctx_template, zio_cksum_t *zcp) 58 zio_checksum_skein_native(buf, size, ctx_template, &tmp); 85 zio_checksum_skein_tmpl_free(void *ctx_template) argument 87 Skein_512_Ctxt_t *ctx = ctx_template; 35 zio_checksum_skein_native(const void *buf, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument 53 zio_checksum_skein_byteswap(const void *buf, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument
|
H A D | sha256.c | 35 const void *ctx_template, zio_cksum_t *zcp) 60 const void *ctx_template, zio_cksum_t *zcp) 72 const void *ctx_template, zio_cksum_t *zcp) 76 zio_checksum_SHA512_native(buf, size, ctx_template, &tmp); 34 zio_checksum_SHA256(const void *buf, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument 59 zio_checksum_SHA512_native(const void *buf, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument 71 zio_checksum_SHA512_byteswap(const void *buf, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument
|
H A D | zio_checksum.c | 97 const void *ctx_template, zio_cksum_t *zcp) 96 zio_checksum_off(const void *buf, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument
|
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/ |
H A D | fletcher.c | 28 const void *ctx_template, zio_cksum_t *zcp) 46 const void *ctx_template, zio_cksum_t *zcp) 64 const void *ctx_template, zio_cksum_t *zcp) 82 const void *ctx_template, zio_cksum_t *zcp) 27 fletcher_2_native(const void *buf, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument 45 fletcher_2_byteswap(const void *buf, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument 63 fletcher_4_native(const void *buf, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument 81 fletcher_4_byteswap(const void *buf, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument
|
H A D | sha256.c | 290 const void *ctx_template, zio_cksum_t *zcp) 302 const void *ctx_template, zio_cksum_t *zcp) 316 const void *ctx_template, zio_cksum_t *zcp) 320 zio_checksum_SHA512_native(buf, size, ctx_template, &tmp); 289 zio_checksum_SHA256(const void *buf, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument 301 zio_checksum_SHA512_native(const void *buf, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument 315 zio_checksum_SHA512_byteswap(const void *buf, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument
|
H A D | zfssubr.c | 66 const void *ctx_template, zio_cksum_t *zcp) 75 const void *ctx_template, zio_cksum_t *zcp); 77 typedef void zio_checksum_tmpl_free_t(void *ctx_template); 65 zio_checksum_off(const void *buf, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | zio_checksum.h | 41 const void *ctx_template, zio_cksum_t *zcp); 43 typedef void zio_checksum_tmpl_free_t(void *ctx_template);
|
/illumos-gate/usr/src/common/zfs/ |
H A D | zfs_fletcher.c | 140 const void *ctx_template, zio_cksum_t *zcp) 159 const void *ctx_template, zio_cksum_t *zcp) 178 const void *ctx_template, zio_cksum_t *zcp) 197 const void *ctx_template, zio_cksum_t *zcp) 139 fletcher_2_native(const void *buf, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument 158 fletcher_2_byteswap(const void *buf, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument 177 fletcher_4_native(const void *buf, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument 196 fletcher_4_byteswap(const void *buf, uint64_t size, const void *ctx_template, zio_cksum_t *zcp) argument
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | skein_mod.c | 708 * Initializes a skein MAC context. You may pass a ctx_template, in which 717 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, 727 if (ctx_template != NULL) { 728 bcopy(ctx_template, SKEIN_CTX(ctx), 757 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) 765 if (ctx_template != NULL) { 766 bcopy(ctx_template, &skein_ctx, sizeof (skein_ctx)); 797 crypto_spi_ctx_template_t *ctx_template, size_t *ctx_template_size, 809 *ctx_template = ctx_tmpl; 716 skein_mac_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 754 skein_mac_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *mac, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 795 skein_create_ctx_template(crypto_provider_handle_t provider, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t *ctx_template, size_t *ctx_template_size, crypto_req_handle_t req) argument
|
H A D | md5_mod.c | 902 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, 921 if (ctx_template != NULL) { 923 bcopy(ctx_template, PROV_MD5_HMAC_CTX(ctx), 1112 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) 1128 if (ctx_template != NULL) { 1130 bcopy(ctx_template, &md5_hmac_ctx, sizeof (md5_hmac_ctx_t)); 1232 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) 1248 if (ctx_template != NULL) { 1250 bcopy(ctx_template, &md5_hmac_ctx, sizeof (md5_hmac_ctx_t)); 1426 crypto_spi_ctx_template_t *ctx_template, size_ 901 md5_mac_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 1109 md5_mac_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *mac, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 1229 md5_mac_verify_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *mac, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 1424 md5_create_ctx_template(crypto_provider_handle_t provider, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t *ctx_template, size_t *ctx_template_size, crypto_req_handle_t req) argument [all...] |
H A D | sha1_mod.c | 845 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, 864 if (ctx_template != NULL) { 866 bcopy(ctx_template, PROV_SHA1_HMAC_CTX(ctx), 1054 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) 1070 if (ctx_template != NULL) { 1072 bcopy(ctx_template, &sha1_hmac_ctx, sizeof (sha1_hmac_ctx_t)); 1174 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) 1190 if (ctx_template != NULL) { 1192 bcopy(ctx_template, &sha1_hmac_ctx, sizeof (sha1_hmac_ctx_t)); 1367 crypto_spi_ctx_template_t *ctx_template, size_ 844 sha1_mac_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 1051 sha1_mac_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *mac, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 1171 sha1_mac_verify_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *mac, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 1365 sha1_create_ctx_template(crypto_provider_handle_t provider, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t *ctx_template, size_t *ctx_template_size, crypto_req_handle_t req) argument [all...] |
H A D | sha2_mod.c | 916 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, 953 if (ctx_template != NULL) { 955 bcopy(ctx_template, PROV_SHA2_HMAC_CTX(ctx), 1160 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) 1193 if (ctx_template != NULL) { 1195 bcopy(ctx_template, &sha2_hmac_ctx, sizeof (sha2_hmac_ctx_t)); 1302 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) 1335 if (ctx_template != NULL) { 1337 bcopy(ctx_template, &sha2_hmac_ctx, sizeof (sha2_hmac_ctx_t)); 1521 crypto_spi_ctx_template_t *ctx_template, size_ 915 sha2_mac_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 1157 sha2_mac_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *mac, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 1299 sha2_mac_verify_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *mac, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 1519 sha2_create_ctx_template(crypto_provider_handle_t provider, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t *ctx_template, size_t *ctx_template_size, crypto_req_handle_t req) argument [all...] |
H A D | ecc.c | 467 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, 547 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, 559 ctx_template, req); 567 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, 579 ctx_template, req); 783 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) 980 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) 466 ecc_sign_verify_common_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 546 ecc_sign_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 566 ecc_verify_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 780 ecc_sign_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *signature, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 977 ecc_verify_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *signature, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument
|
H A D | dca.c | 3687 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, 3859 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) 3866 if (ctx_template != NULL) 3909 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, 4082 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) 4089 if (ctx_template != NULL) 4136 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, 4145 if (ctx_template != NULL) 4254 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) 4261 if (ctx_template ! 3686 dca_encrypt_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 3856 dca_encrypt_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *plaintext, crypto_data_t *ciphertext, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 3908 dca_decrypt_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 4079 dca_decrypt_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *ciphertext, crypto_data_t *plaintext, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 4135 dca_sign_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 4251 dca_sign_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *signature, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 4288 dca_sign_recover_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 4353 dca_sign_recover_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *signature, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 4390 dca_verify_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 4506 dca_verify_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *signature, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 4543 dca_verify_recover_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 4606 dca_verify_recover_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *signature, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument [all...] |
H A D | rsa.c | 847 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, 1217 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) 1417 crypto_data_t *signature, crypto_spi_ctx_template_t ctx_template, 1545 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) 846 rsa_sign_verify_common_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 1214 rsa_sign_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *signature, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 1414 rsa_verify_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *signature, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 1542 rsa_verify_recover_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *signature, crypto_data_t *data, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument
|
H A D | dprov.c | 2118 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, 2137 if (ctx_template != NULL) 2222 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) 2232 if (ctx_template != NULL) 2256 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) 2267 if (ctx_template != NULL) 2338 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, 2446 crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) 2456 if (ctx_template != NULL) 2479 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, 2117 dprov_mac_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 2219 dprov_mac_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *mac, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 2253 dprov_mac_verify_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *mac, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 2337 dprov_encrypt_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 2443 dprov_encrypt_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *plaintext, crypto_data_t *ciphertext, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 2478 dprov_decrypt_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 2585 dprov_decrypt_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *ciphertext, crypto_data_t *plaintext, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 2651 dprov_sign_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 2754 dprov_sign_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *signature, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 2788 dprov_sign_recover_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 2839 dprov_sign_recover_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *signature, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 2871 dprov_verify_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 2974 dprov_verify_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *signature, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 3009 dprov_verify_recover_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 3061 dprov_verify_recover_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *signature, crypto_data_t *data, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument [all...] |