Searched refs:cc_size (Results 1 – 9 of 9) sorted by relevance
| /xnu-10063.141.1/osfmk/corecrypto/ |
| H A D | cc_workspaces_generated.h | 37 CC_INLINE cc_size CCBFV_CIPHERTEXT_MOD_SWITCH_DOWN_TO_SINGLE_WORKSPACE_N(cc_size n); 40 CC_INLINE cc_size CCBFV_CIPHERTEXT_MOD_SWITCH_DOWN_WORKSPACE_N(cc_size n); 43 CC_INLINE cc_size CCBFV_DCRT_PLAINTEXT_ENCODE_WORKSPACE_N(cc_size n); 46 CC_INLINE cc_size CCBFV_DECRYPT_CTX_INIT_WORKSPACE_N(cc_size n); 49 CC_INLINE cc_size CCBFV_DESERIALIZE_CIPHERTEXT_COEFF_WORKSPACE_N(cc_size n); 52 CC_INLINE cc_size CCBFV_DESERIALIZE_CIPHERTEXT_EVAL_WORKSPACE_N(cc_size n); 55 CC_INLINE cc_size CCBFV_DESERIALIZE_SEEDED_CIPHERTEXT_COEFF_WORKSPACE_N(cc_size n); 58 CC_INLINE cc_size CCBFV_GALOIS_KEY_LOAD_SINGLE_WORKSPACE_N(cc_size n); 61 CC_INLINE cc_size CCBFV_GALOIS_KEY_LOAD_WORKSPACE_N(cc_size n); 64 CC_INLINE cc_size CCBFV_GALOIS_KEY_SAVE_WORKSPACE_N(cc_size n); [all …]
|
| H A D | cc_workspaces.h | 85 CC_PURE cc_size CCBFV_CIPHERTEXT_APPLY_GALOIS_WORKSPACE_N(cc_size degree, cc_size num_ctext_moduli); 87 CC_PURE cc_size CCBFV_CIPHERTEXT_GALOIS_KEY_SWITCH_WORKSPACE_N(cc_size degree, cc_size num_galois_k… 89 CC_PURE cc_size CCBFV_CIPHERTEXT_PLAINTEXT_ADD_WORKSPACE_N(cc_size degree); 91 CC_PURE cc_size CCBFV_CIPHERTEXT_COEFF_PLAINTEXT_MUL_WORKSPACE_N(cc_size degree, cc_size num_moduli… 93 CC_PURE cc_size CCBFV_CIPHERTEXT_EVAL_PLAINTEXT_MUL_WORKSPACE_N(cc_size degree, cc_size num_moduli); 95 CC_PURE cc_size CCBFV_CIPHERTEXT_ROTATE_ROWS_LEFT_WORKSPACE_N(cc_size degree, cc_size num_ctext_mod… 97 CC_PURE cc_size CCBFV_CIPHERTEXT_ROTATE_ROWS_RIGHT_WORKSPACE_N(cc_size degree, cc_size num_ctext_mo… 99 CC_PURE cc_size CCBFV_CIPHERTEXT_SWAP_COLUMNS_WORKSPACE_N(cc_size degree, cc_size num_ctext_moduli); 101 CC_PURE cc_size CCBFV_CIPHER_PLAIN_CTX_INIT_WORKSPACE_N(cc_size num_moduli); 103 CC_PURE cc_size CCBFV_DECODE_SIMD_INT64_WORKSPACE_N(cc_size degree, cc_size num_moduli); [all …]
|
| H A D | ccn_internal.h | 132 void ccn_set(cc_size n, cc_unit *cc_counted_by(n) r, const cc_unit *cc_counted_by(n) s); 137 ccn_setn(cc_size n, cc_unit *cc_counted_by (n)r, const cc_size s_size, const cc_unit *cc_counted_by… in ccn_setn() 151 ccn_clear(cc_size n, cc_unit *cc_sized_by (n)r) in ccn_clear() 165 cc_unit ccn_abs(cc_size n, cc_unit *cc_counted_by(n) r, const cc_unit *cc_counted_by(n) s, const cc… 171 size_t ccn_trailing_zeros(cc_size n, const cc_unit *s); 182 void ccn_shift_right(cc_size n, cc_unit *cc_counted_by(n) r, const cc_unit *cc_counted_by(n) s, siz… 193 void ccn_shift_right_multi(cc_size n, cc_unit *cc_counted_by(n) r, const cc_unit *cc_counted_by(n) … 200 void ccn_shift_left(cc_size n, cc_unit *cc_counted_by(n) r, const cc_unit *cc_counted_by(n) s, size… 203 void ccn_shift_left_multi(cc_size n, cc_unit *cc_counted_by(n) r, const cc_unit *cc_counted_by(n) s… 208 void ccn_cond_swap(cc_size n, cc_unit ki, cc_unit *cc_counted_by(n) r0, cc_unit *cc_counted_by(n) r… [all …]
|
| H A D | cc_memory.h | 58 cc_size nunits; 59 cc_size offset; 60 cc_unit *(*CC_SPTR(cc_ws, alloc))(cc_ws_t ws, cc_size n); 79 cc_unit *cc_counted_by(n) cc_ws_alloc(cc_ws_t ws, cc_size n); 149 #define CC_DECL_BP_WS(ws, bp) cc_size _ws_offset = ws->offset;
|
| /xnu-10063.141.1/EXTERNAL_HEADERS/corecrypto/ |
| H A D | ccder.h | 95 size_t ccder_sizeof_implicit_integer(ccder_tag implicit_tag, cc_size n, const cc_unit *s); 98 size_t ccder_sizeof_implicit_octet_string(ccder_tag implicit_tag, cc_size n, const cc_unit *s); 110 size_t ccder_sizeof_integer(cc_size n, const cc_unit *s); 116 size_t ccder_sizeof_octet_string(cc_size n, const cc_unit *s); 170 uint8_t *ccder_encode_implicit_integer(ccder_tag implicit_tag, cc_size n, const cc_unit *s, const u… 173 uint8_t *ccder_encode_integer(cc_size n, const cc_unit *s, const uint8_t *der, uint8_t *der_end); 182 uint8_t *ccder_encode_implicit_octet_string(ccder_tag implicit_tag, cc_size n, const cc_unit *s, co… 185 uint8_t *ccder_encode_octet_string(cc_size n, const cc_unit *s, const uint8_t *der, uint8_t *der_en… 302 const uint8_t *ccder_decode_uint_n(cc_size *n, const uint8_t *der, const uint8_t *der_end); 319 const uint8_t *ccder_decode_uint(cc_size n, cc_unit *r, const uint8_t *der, const uint8_t *der_end); [all …]
|
| H A D | ccn.h | 19 typedef size_t cc_size; typedef 187 size_t ccn_bitlen(cc_size n, const cc_unit *cc_counted_by(n) s); 202 int ccn_cmp(cc_size n, const cc_unit *cc_counted_by(n) s, const cc_unit *cc_counted_by(n) t) __asm_… 218 int ccn_cmpn(cc_size ns, const cc_unit *cc_counted_by(ns) s, cc_size nt, const cc_unit *cc_counted_… 223 cc_unit ccn_sub(cc_size n, cc_unit *cc_counted_by(n) r, const cc_unit *cc_counted_by(n) s, const cc… 228 cc_unit ccn_add(cc_size n, cc_unit *cc_counted_by(n) r, const cc_unit *cc_counted_by(n) s, const cc… 233 cc_unit ccn_add1(cc_size n, cc_unit *cc_counted_by(n) r, const cc_unit *cc_counted_by(n) s, cc_unit… 253 int ccn_read_uint(cc_size n, cc_unit *cc_counted_by(n) r, size_t data_nbytes, const uint8_t *cc_siz… 273 CC_PURE CC_NONNULL((2)) size_t ccn_write_uint_size(cc_size n, const cc_unit *cc_counted_by(n) s); 293 void ccn_write_uint(cc_size n, const cc_unit *cc_counted_by(n) s, size_t out_size, void *cc_sized_b… [all …]
|
| H A D | ccder_blob.h | 67 bool ccder_blob_encode_implicit_integer(ccder_blob *into, ccder_tag implicit_tag, cc_size n, const … 70 bool ccder_blob_encode_integer(ccder_blob *into, cc_size n, const cc_unit *cc_counted_by(n) s); 79 bool ccder_blob_encode_octet_string(ccder_blob *into, cc_size n, const cc_unit *cc_counted_by(n) s); 82 bool ccder_blob_encode_implicit_octet_string(ccder_blob *into, ccder_tag implicit_tag, cc_size n, c… 122 bool ccder_blob_decode_uint_n(ccder_read_blob *from, cc_size *n); 128 bool ccder_blob_decode_uint(ccder_read_blob *from, cc_size n, cc_unit *cc_counted_by(n)); 131 bool ccder_blob_decode_uint_strict(ccder_read_blob *from, cc_size n, cc_unit *cc_counted_by(n));
|
| H A D | cczp.h | 31 cc_size pre##n; \ 48 cc_size cczp_n(cczp_const_t zp);
|
| H A D | ccrsa.h | 638 cc_size ccder_decode_rsa_pub_n(const uint8_t *cc_ended_by(der_end) der, const uint8_t *der_end); 667 cc_size ccder_decode_rsa_pub_x509_n(const uint8_t *cc_ended_by(der_end) der, const uint8_t *der_end… 696 cc_size ccder_decode_rsa_priv_n(const uint8_t *cc_ended_by(der_end) der, const uint8_t *der_end); 747 cc_size ccrsa_import_pub_n(size_t inlen, const uint8_t *cc_sized_by(inlen) der); 799 cc_size ccrsa_import_priv_n(size_t inlen, const uint8_t *cc_sized_by(inlen) der);
|