Searched refs:NP_SIZE_IN_BYTES (Results 1 – 15 of 15) sorted by relevance
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/common/ |
D | common_rsa_keypair_util.c | 30 uint8_t gNp[NP_SIZE_IN_BYTES] = {0}; 160 memcpy(pNandNpBuff->pNpBuff, gNp, NP_SIZE_IN_BYTES); in CC_CommonGetNAndNpFromKeyPair() 161 *pNAndNpSize = (SB_CERT_RSA_KEY_SIZE_IN_BYTES+NP_SIZE_IN_BYTES); in CC_CommonGetNAndNpFromKeyPair() 163 UTIL_LOG_BYTE_BUFF("gNp", gNp, NP_SIZE_IN_BYTES); in CC_CommonGetNAndNpFromKeyPair() 224 memcpy(pNandNpBuff->pNpBuff, gNp, NP_SIZE_IN_BYTES); in CC_CommonGetNAndNpFromPubKey() 225 *pNAndNpSize = (SB_CERT_RSA_KEY_SIZE_IN_BYTES+NP_SIZE_IN_BYTES); in CC_CommonGetNAndNpFromPubKey() 227 UTIL_LOG_BYTE_BUFF("gNp", gNp, NP_SIZE_IN_BYTES); in CC_CommonGetNAndNpFromPubKey() 268 UTIL_LOG_BYTE_BUFF("gNp", gNp, NP_SIZE_IN_BYTES); in CC_CommonCalcHBKFromBuff() 271 memcpy(gNAndNp.pNpBuff, gNp, NP_SIZE_IN_BYTES); in CC_CommonCalcHBKFromBuff() 325 UTIL_LOG_BYTE_BUFF("gNp", gNp, NP_SIZE_IN_BYTES); in CC_CommonCalcHBKFromFile() [all …]
|
D | common_rsa_keypair.c | 189 NP_res = (int8_t*)malloc(NP_SIZE_IN_BYTES); in CC_CommonRSACalculateNpInt() 221 memset (NP_ptr, 0, NP_SIZE_IN_BYTES); in CC_CommonRSACalculateNpInt() 222 memcpy ((uint8_t *)(NP_ptr + (NP_SIZE_IN_BYTES - len)), (int8_t *)NP_res, len); in CC_CommonRSACalculateNpInt() 237 memset (NP_ptr, 0, (NP_SIZE_IN_BYTES * 2 + 2)); in CC_CommonRSACalculateNpInt() 238 memcpy ((int8_t *)(NP_ptr + (NP_SIZE_IN_BYTES * 2 + 2 - len)), (int8_t *)NP_res, len); in CC_CommonRSACalculateNpInt()
|
D | common_rsa_keypair_util.h | 17 uint8_t pNpBuff[NP_SIZE_IN_BYTES];
|
D | common_rsa_keypair.h | 30 #define NP_SIZE_IN_BYTES 20 macro
|
D | common_sb_ops.c | 302 int nAndNpSize = SB_CERT_RSA_KEY_SIZE_IN_BYTES+NP_SIZE_IN_BYTES; in SBU_GetNAndNpFromKeyPair() 335 int nAndNpSize = SB_CERT_RSA_KEY_SIZE_IN_BYTES+NP_SIZE_IN_BYTES; in SBU_GetNAndNpFromPubKey()
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/dmpu_asset_pkg_util/common/ |
D | dmpu_util_crypto_helper.py | 20 NP_SIZE_IN_BYTES = 20 variable 35 return(PUBKEY_SIZE_BYTES + NP_SIZE_IN_BYTES) 43 for i in range(PUBKEY_SIZE_BYTES + NP_SIZE_IN_BYTES): 78 publicKey = create_string_buffer(PUBKEY_SIZE_BYTES + NP_SIZE_IN_BYTES) 92 publicKey = create_string_buffer(PUBKEY_SIZE_BYTES + NP_SIZE_IN_BYTES)
|
D | dmpu_utils.h | 31 uint8_t oemMainPubKey[ SB_CERT_RSA_KEY_SIZE_IN_BYTES+NP_SIZE_IN_BYTES]; 32 uint8_t oemEncPubKey[ SB_CERT_RSA_KEY_SIZE_IN_BYTES+NP_SIZE_IN_BYTES];
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/common_utils/ |
D | cert_dbg_util_data.py | 28 return(PUBKEY_SIZE_BYTES + NP_SIZE_IN_BYTES) 36 for i in range(PUBKEY_SIZE_BYTES + NP_SIZE_IN_BYTES):
|
D | global_defines.py | 25 NP_SIZE_IN_BYTES = 20 variable 26 NP_SIZE_IN_WORDS = (NP_SIZE_IN_BYTES//BYTES_WITHIN_WORD)
|
D | cert_dbg_util_gen.py | 21 publicKey = create_string_buffer(RSA_SIGNATURE_SIZE_BYTES + NP_SIZE_IN_BYTES) 34 publicKey = create_string_buffer(RSA_SIGNATURE_SIZE_BYTES + NP_SIZE_IN_BYTES)
|
D | key_data_structures.py | 134 return(RSA_SIGNATURE_SIZE_IN_BYTES + NP_SIZE_IN_BYTES) 142 for i in range(RSA_SIGNATURE_SIZE_IN_BYTES + NP_SIZE_IN_BYTES):
|
D | cert_cfg_parser_util.py | 371 certLength =certLength + PUBKEY_SIZE_BYTES + NP_SIZE_IN_BYTES # certificate public key + Np
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/dmpu_asset_pkg_util/oem_key_request/ |
D | dmpu_oem_key_request_util.py | 108 …_CERT_HEADER_SIZE_IN_BYTES + PUBKEY_SIZE_BYTES + NP_SIZE_IN_BYTES + PUBKEY_SIZE_BYTES + NP_SIZE_IN…
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/dmpu_asset_pkg_util/icv_key_response/lib/ |
D | main.c | 124 SB_CERT_RSA_KEY_SIZE_IN_BYTES+NP_SIZE_IN_BYTES, in generateIcvKeyRespPkg()
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/x509cert_lib/ |
D | main.c | 505 UTIL_LOG_BYTE_BUFF("pNAndNp", (uint8_t *)pNAndNp.pNpBuff, NP_SIZE_IN_BYTES); in SBU_x509_AddPubKeyNpBuffExtension() 507 …ringExtension(gpCertBuff, gCertType, CC_X509_ID_EXT_PUB_KEY_NP, pNAndNp.pNpBuff, NP_SIZE_IN_BYTES); in SBU_x509_AddPubKeyNpBuffExtension()
|