Searched refs:cc_size (Results 1 – 9 of 9) sorted by relevance
| /xnu-11215/osfmk/corecrypto/ |
| H A D | cc_workspaces_generated.h | 103 CC_INLINE cc_size CCCURVE448_WORKSPACE_N(cc_size n); 169 CC_INLINE cc_size CCEC448_ADD_WORKSPACE_N(cc_size n); 175 CC_INLINE cc_size CCEC448_INV_WORKSPACE_N(cc_size n); 220 CC_INLINE cc_size CCEC_ADD_WORKSPACE_N(cc_size n); 355 CC_INLINE cc_size CCEC_MULT_WORKSPACE_N(cc_size n); 571 CC_INLINE cc_size CCH2C_WORKSPACE_N(cc_size n); 577 CC_INLINE cc_size CCN_ADD_WORKSPACE_N(cc_size n); 589 CC_INLINE cc_size CCN_GCD_WORKSPACE_N(cc_size n); 595 CC_INLINE cc_size CCN_LCM_WORKSPACE_N(cc_size n); 604 CC_INLINE cc_size CCN_MUL_WORKSPACE_N(cc_size n); [all …]
|
| H A D | cc_workspaces.h | 103 CC_PURE cc_size CCBFV_DECODE_SIMD_INT64_WORKSPACE_N(cc_size degree, cc_size num_moduli); 105 CC_PURE cc_size CCBFV_DECODE_SIMD_UINT64_WORKSPACE_N(cc_size degree, cc_size num_moduli); 107 CC_PURE cc_size CCBFV_DECRYPT_WORKSPACE_N(cc_size degree, cc_size num_moduli); 111 CC_PURE cc_size CCBFV_ENCRYPT_SYMMETRIC_WORKSPACE_N(cc_size degree, cc_size num_moduli); 117 CC_PURE cc_size CCBFV_ENCRYPT_ZERO_SYMMETRIC_HELPER_WORKSPACE_N(cc_size degree, cc_size nmoduli); 119 CC_PURE cc_size CCBFV_GALOIS_KEY_GENERATE_SINGLE_WORKSPACE_N(cc_size degree, cc_size num_moduli); 121 CC_PURE cc_size CCBFV_GALOIS_KEY_GENERATE_WORKSPACE_N(cc_size degree, cc_size num_moduli); 123 CC_PURE cc_size CCBFV_RELIN_KEY_GENERATE_WORKSPACE_N(cc_size degree, cc_size num_moduli); 127 CC_PURE cc_size CCEC_AFFINIFY_POINTS_WORKSPACE_N(cc_size n, cc_size npoints); 135 CC_PURE cc_size CCN_SQR_WORKSPACE_N(cc_size n); [all …]
|
| H A D | ccn_internal.h | 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() 335 …ze_t ccn_gcd_ws(cc_ws_t ws, cc_size rn, cc_unit *cc_counted_by(rn) r, cc_size sn, const cc_unit *c… 478 ccn_select(cc_size start, cc_size end, const cc_unit *cc_counted_by(end)r, cc_size i) in ccn_select() 482 for (cc_size j = start; j < end; j++) { in ccn_select() 483 cc_size i_neq_j; // i≠j? in ccn_select() 544 int ccn_divmod(cc_size na, const cc_unit *cc_counted_by(na) a, cc_size nq, cc_unit *cc_counted_by(n… 547 …d ccn_divmod_ws(cc_ws_t ws, cc_size na, const cc_unit *cc_counted_by(na) a, cc_size nq, cc_unit *c… 578 cc_size ccn_n(cc_size n, const cc_unit *cc_counted_by(n)s); 658 for (cc_size i = 0; i < n; i++) { in ccn_read_le_bytes() [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-11215/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); 173 uint8_t *ccder_encode_integer(cc_size n, const cc_unit *s, const uint8_t *der, uint8_t *der_end); 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); 333 const uint8_t *ccder_decode_uint_strict(cc_size n, cc_unit *r, const uint8_t *der, const uint8_t *d… 342 const uint8_t *ccder_decode_seqii(cc_size n, cc_unit *r, cc_unit *s, const uint8_t *der, const uint… [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); 218 int ccn_cmpn(cc_size ns, const cc_unit *cc_counted_by(ns) s, cc_size nt, const cc_unit *cc_counted_… 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… 273 CC_PURE CC_NONNULL((2)) size_t ccn_write_uint_size(cc_size n, const cc_unit *cc_counted_by(n) s); 343 size_t ccn_write_int_size(cc_size n, const cc_unit *cc_counted_by(n) s); 359 void ccn_zero(cc_size n, cc_unit *cc_sized_by(n) r); 362 void ccn_seti(cc_size n, cc_unit *cc_counted_by(n) r, cc_unit v); 396 void ccn_swap(cc_size n, cc_unit *cc_counted_by(n) r); 403 void ccn_print(cc_size n, const cc_unit *cc_counted_by(n) s); [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);
|