| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | psa_util.c | 371 * \brief Convert a single raw coordinate to DER ASN.1 format. The output der 374 * \param raw_buf Buffer containing the raw coordinate to be 385 * \return MBEDTLS_ERR_ASN1_INVALID_DATA if the input raw 388 * \warning Raw and der buffer must not be overlapping. 410 /* Copy the raw coordinate to the end of der_buf. */ in convert_raw_to_der_single_int() 433 int mbedtls_ecdsa_raw_to_der(size_t bits, const unsigned char *raw, size_t raw_len, in mbedtls_ecdsa_raw_to_der() argument 453 /* Since raw and der buffers might overlap, dump r and s before starting in mbedtls_ecdsa_raw_to_der() 455 memcpy(r, raw, coordinate_len); in mbedtls_ecdsa_raw_to_der() 456 memcpy(s, raw + coordinate_len, coordinate_len); in mbedtls_ecdsa_raw_to_der() 488 * \brief Convert a single integer from ASN.1 DER format to raw. [all …]
|
| H A D | x509_crl.c | 242 cur_entry->raw.tag = **p; in x509_get_entries() 248 cur_entry->raw.p = *p; in x509_get_entries() 249 cur_entry->raw.len = len2; in x509_get_entries() 323 * Copy raw DER-encoded CRL in mbedtls_x509_crl_parse_der() 336 crl->raw.p = p; in mbedtls_x509_crl_parse_der() 337 crl->raw.len = buflen; in mbedtls_x509_crl_parse_der() 468 end = crl->raw.p + crl->raw.len; in mbedtls_x509_crl_parse_der() 634 while (entry != NULL && entry->raw.len != 0) { in mbedtls_x509_crl_info() 699 if (crl_cur->raw.p != NULL) { in mbedtls_x509_crl_free() 700 mbedtls_zeroize_and_free(crl_cur->raw.p, crl_cur->raw.len); in mbedtls_x509_crl_free()
|
| H A D | x509_csr.c | 287 * first copy the raw DER data in mbedtls_x509_csr_parse_der_internal() 297 csr->raw.p = p; in mbedtls_x509_csr_parse_der_internal() 298 csr->raw.len = len; in mbedtls_x509_csr_parse_der_internal() 399 end = csr->raw.p + csr->raw.len; in mbedtls_x509_csr_parse_der_internal() 452 * Parse a CSR, allowing for PEM or raw DER encoding 632 if (csr->raw.p != NULL) { in mbedtls_x509_csr_free() 633 mbedtls_zeroize_and_free(csr->raw.p, csr->raw.len); in mbedtls_x509_csr_free()
|
| H A D | pkcs7.c | 566 pkcs7->raw.p = p = mbedtls_calloc(1, buflen); in mbedtls_pkcs7_parse_der() 567 if (pkcs7->raw.p == NULL) { in mbedtls_pkcs7_parse_der() 572 pkcs7->raw.len = buflen; in mbedtls_pkcs7_parse_der() 592 p = pkcs7->raw.p; in mbedtls_pkcs7_parse_der() 752 if (pkcs7 == NULL || pkcs7->raw.p == NULL) { in mbedtls_pkcs7_free() 756 mbedtls_free(pkcs7->raw.p); in mbedtls_pkcs7_free() 770 pkcs7->raw.p = NULL; in mbedtls_pkcs7_free()
|
| H A D | pk_internal.h | 145 * [in] key, key_len: the raw private key (no ASN.1 wrapping). 154 * [in] pub, pub_len: the raw public key (an ECPoint). 170 * [in] prv, prv_len: the raw private key (see note below).
|
| H A D | psa_crypto_mac.h | 26 * psa_export_key() (i.e. the raw key bytes). 71 * psa_export_key() (i.e. the raw key bytes). 106 * psa_export_key() (i.e. the raw key bytes).
|
| /optee_os/lib/libmbedtls/mbedtls/include/mbedtls/ |
| H A D | psa_util.h | 146 /** Convert an ECDSA signature from raw format to DER ASN.1 format. 149 * \param raw Buffer that contains the signature in raw format. 150 * \param raw_len Length of \p raw in bytes. This must be 153 * output. It can overlap with raw buffer. 175 int mbedtls_ecdsa_raw_to_der(size_t bits, const unsigned char *raw, size_t raw_len, 178 /** Convert an ECDSA signature from DER ASN.1 format to raw format. 183 * \param[out] raw Buffer that will be filled with the converted raw 185 * \param raw_size Size of \p raw in bytes. Must be at least 188 * data (in bytes) written to \p raw. It's undefined 201 unsigned char *raw, size_t raw_size, size_t *raw_len);
|
| H A D | x509_crl.h | 41 mbedtls_x509_buf raw; member 65 mbedtls_x509_buf raw; /**< The raw certificate data (DER). */ member 66 …mbedtls_x509_buf tbs; /**< The raw certificate body (DER). The part that is To Be Signed… 71 mbedtls_x509_buf issuer_raw; /**< The raw issuer data (DER). */
|
| H A D | rsa.h | 235 * \brief This function imports core RSA parameters, in raw big-endian 355 * in raw big-endian binary format. 837 * Use #MBEDTLS_MD_NONE for signing raw data. 838 * \param hashlen The length of the message digest or raw data in Bytes. 841 * \param hash The buffer holding the message digest or raw data. 869 * Use #MBEDTLS_MD_NONE for signing raw data. 870 * \param hashlen The length of the message digest or raw data in Bytes. 873 * \param hash The buffer holding the message digest or raw data. 916 * Use #MBEDTLS_MD_NONE for signing raw data. 917 * \param hashlen The length of the message digest or raw data in Bytes. [all …]
|
| H A D | x509_csr.h | 39 mbedtls_x509_buf raw; /**< The raw CSR data (DER). */ member 40 mbedtls_x509_buf cri; /**< The raw CertificateRequestInfo body (DER). */ 44 mbedtls_x509_buf subject_raw; /**< The raw subject data (DER). */ 51 …mbedtls_x509_sequence subject_alt_names; /**< Optional list of raw entries of Subject Alternative …
|
| H A D | x509.h | 241 mbedtls_x509_buf raw; member 436 * \param san_buf The buffer holding the raw data item of the subject 446 * \note This function should be called on a single raw data of 452 * \warning The target structure contains pointers to the raw data of the
|
| /optee_os/core/arch/arm/plat-synquacer/ |
| H A D | rng_pta.c | 17 * minimal entropy estimates done on 2.1G bytes of raw samples collected 28 * This routine uses secure timer interrupt to sample raw thermal sensor 37 * we need to supply 28 raw sensor readings to get 1 byte of full 39 * supply 896 bytes of raw sensor readings. 46 * Called as part of secure timer interrupt handler to sample raw 207 * NIST.SP.800-90B to condition raw data from entropy in pool_check_add_entropy() 332 * entropy given our assumption of entropy estimate for raw sensor in rng_get_info()
|
| /optee_os/ta/pkcs11/ |
| H A D | sub.mk | 16 # When enabled, embed support for CKM_RSA_X_509 (a.k.a. Raw RSA) ciphering 18 # Raw RSA can be unsafe if client uses a weak clear data padding scheme.
|
| /optee_os/lib/libutee/include/ |
| H A D | pta_apdu.h | 19 * [in] memref[2].buffer request (APDU raw frame). 21 * [out] memref[3].buffer response (APDU raw frame).
|
| /optee_os/core/lib/libtomcrypt/src/pk/rsa/ |
| H A D | rsa_set.c | 9 Import RSA key from raw numbers 51 Import factors of an RSA key from raw numbers 85 Import CRT parameters of an RSA key from raw numbers
|
| /optee_os/core/lib/libtomcrypt/src/pk/ecc/ |
| H A D | ecc_get_key.c | 8 /** Export raw public or private key (public keys = ANS X9.63 compressed or uncompressed; private k…
|
| /optee_os/scripts/ |
| H A D | mem_usage.py | 36 parser.add_argument('-r', '--raw', action='store_true', 68 if args.raw: 171 if (args.raw and (args.all or args.init or args.paged or
|
| /optee_os/core/lib/zlib/ |
| H A D | inflate.h | 62 HEAD -> (gzip) or (zlib) or (raw) 67 (raw) -> TYPEDO 91 -1 if raw or no header yet */
|
| /optee_os/core/lib/libtomcrypt/src/pk/dsa/ |
| H A D | dsa_set.c | 9 Import DSA's p, q & g from raw numbers 57 Import DSA public or private key-part from raw numbers
|
| /optee_os/core/arch/riscv/kernel/ |
| H A D | link.mk | 102 cleanfiles += $(link-out-dir)/tee-raw.bin 103 $(link-out-dir)/tee-raw.bin: $(link-out-dir)/tee.elf 108 $(link-out-dir)/tee.srec: $(link-out-dir)/tee-raw.bin
|
| /optee_os/core/lib/libtomcrypt/src/pk/dh/ |
| H A D | dh_set.c | 9 Import DH key parts p and g from raw numbers 75 Import DH public or private key part from raw numbers
|
| H A D | dh_make_key.c | 56 uint8_t *buf = 0; /* intermediate buffer to have a raw random */ in dh_make_key() 109 /* generate the private key in a raw-buffer */ in dh_make_key()
|
| /optee_os/core/arch/arm/plat-imx/ |
| H A D | link.mk | 6 $(link-out-dir)/uTee: $(link-out-dir)/tee-raw.bin
|
| /optee_os/core/include/drivers/ |
| H A D | i2c.h | 146 * i2c_smbus_raw() - Execute a raw SMBUS request 305 * i2c_bus_read_block_raw() - Execute a non-standard SMBus raw block read. 325 * i2c_bus_write_block_raw() - Execute a non-standard SMBus raw block write.
|
| /optee_os/core/arch/arm/kernel/ |
| H A D | link.mk | 221 all: $(link-out-dir)/tee-raw.bin 222 cleanfiles += $(link-out-dir)/tee-raw.bin 223 $(link-out-dir)/tee-raw.bin: $(link-out-dir)/tee.elf scripts/gen_tee_bin.py 228 $(link-out-dir)/tee.srec: $(link-out-dir)/tee-raw.bin
|