Home
last modified time | relevance | path

Searched refs:algo (Results 1 – 18 of 18) sorted by relevance

/hal_stm32-latest/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_hal_cryp_ex.c341 uint32_t algo; in HAL_CRYPEx_WrapKey() local
366 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYPEx_WrapKey()
368 switch (algo) in HAL_CRYPEx_WrapKey()
406 uint32_t algo; in HAL_CRYPEx_UnwrapKey() local
430 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYPEx_UnwrapKey()
432 switch (algo) in HAL_CRYPEx_UnwrapKey()
491 uint32_t algo; in HAL_CRYPEx_EncryptSharedKey() local
515 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYPEx_EncryptSharedKey()
517 switch (algo) in HAL_CRYPEx_EncryptSharedKey()
556 uint32_t algo; in HAL_CRYPEx_DecryptSharedKey() local
[all …]
Dstm32wbaxx_hal_cryp.c1362 uint32_t algo; in HAL_CRYP_Encrypt() local
1409 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Encrypt()
1411 switch (algo) in HAL_CRYP_Encrypt()
1466 uint32_t algo; in HAL_CRYP_Decrypt() local
1500 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Decrypt()
1502 switch (algo) in HAL_CRYP_Decrypt()
1556 uint32_t algo; in HAL_CRYP_Encrypt_IT() local
1610 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Encrypt_IT()
1612 switch (algo) in HAL_CRYP_Encrypt_IT()
1660 uint32_t algo; in HAL_CRYP_Decrypt_IT() local
[all …]
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_cryp_ex.c343 uint32_t algo; in HAL_CRYPEx_WrapKey() local
368 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYPEx_WrapKey()
370 switch (algo) in HAL_CRYPEx_WrapKey()
408 uint32_t algo; in HAL_CRYPEx_UnwrapKey() local
432 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYPEx_UnwrapKey()
434 switch (algo) in HAL_CRYPEx_UnwrapKey()
493 uint32_t algo; in HAL_CRYPEx_EncryptSharedKey() local
523 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYPEx_EncryptSharedKey()
525 switch (algo) in HAL_CRYPEx_EncryptSharedKey()
564 uint32_t algo; in HAL_CRYPEx_DecryptSharedKey() local
[all …]
Dstm32h5xx_hal_cryp.c1374 uint32_t algo; in HAL_CRYP_Encrypt() local
1430 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Encrypt()
1432 switch (algo) in HAL_CRYP_Encrypt()
1487 uint32_t algo; in HAL_CRYP_Decrypt() local
1533 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Decrypt()
1535 switch (algo) in HAL_CRYP_Decrypt()
1589 uint32_t algo; in HAL_CRYP_Encrypt_IT() local
1649 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Encrypt_IT()
1651 switch (algo) in HAL_CRYP_Encrypt_IT()
1699 uint32_t algo; in HAL_CRYP_Decrypt_IT() local
[all …]
/hal_stm32-latest/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_hal_cryp.c737 uint32_t algo; in HAL_CRYP_Encrypt() local
768 algo = hcryp->Instance->CR & CRYP_CR_ALGOMODE; in HAL_CRYP_Encrypt()
770 switch(algo) in HAL_CRYP_Encrypt()
855 uint32_t algo; in HAL_CRYP_Decrypt() local
885 algo = hcryp->Instance->CR & CRYP_CR_ALGOMODE; in HAL_CRYP_Decrypt()
887 switch(algo) in HAL_CRYP_Decrypt()
971 uint32_t algo; in HAL_CRYP_Encrypt_IT() local
1002 algo = (hcryp->Instance->CR & CRYP_CR_ALGOMODE); in HAL_CRYP_Encrypt_IT()
1004 switch(algo) in HAL_CRYP_Encrypt_IT()
1078 uint32_t algo; in HAL_CRYP_Decrypt_IT() local
[all …]
/hal_stm32-latest/stm32cube/stm32u0xx/drivers/src/
Dstm32u0xx_hal_cryp.c1215 uint32_t algo; in HAL_CRYP_Encrypt() local
1252 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Encrypt()
1254 switch (algo) in HAL_CRYP_Encrypt()
1317 uint32_t algo; in HAL_CRYP_Decrypt() local
1353 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Decrypt()
1355 switch (algo) in HAL_CRYP_Decrypt()
1416 uint32_t algo; in HAL_CRYP_Encrypt_IT() local
1472 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Encrypt_IT()
1474 switch (algo) in HAL_CRYP_Encrypt_IT()
1526 uint32_t algo; in HAL_CRYP_Decrypt_IT() local
[all …]
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_hal_cryp.c1217 uint32_t algo; in HAL_CRYP_Encrypt() local
1254 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Encrypt()
1256 switch (algo) in HAL_CRYP_Encrypt()
1319 uint32_t algo; in HAL_CRYP_Decrypt() local
1355 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Decrypt()
1357 switch (algo) in HAL_CRYP_Decrypt()
1418 uint32_t algo; in HAL_CRYP_Encrypt_IT() local
1474 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Encrypt_IT()
1476 switch (algo) in HAL_CRYP_Encrypt_IT()
1528 uint32_t algo; in HAL_CRYP_Decrypt_IT() local
[all …]
/hal_stm32-latest/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_hal_cryp.c1215 uint32_t algo; in HAL_CRYP_Encrypt() local
1252 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Encrypt()
1254 switch (algo) in HAL_CRYP_Encrypt()
1317 uint32_t algo; in HAL_CRYP_Decrypt() local
1353 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Decrypt()
1355 switch (algo) in HAL_CRYP_Decrypt()
1416 uint32_t algo; in HAL_CRYP_Encrypt_IT() local
1472 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Encrypt_IT()
1474 switch (algo) in HAL_CRYP_Encrypt_IT()
1526 uint32_t algo; in HAL_CRYP_Decrypt_IT() local
[all …]
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_cryp.c1215 uint32_t algo; in HAL_CRYP_Encrypt() local
1252 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Encrypt()
1254 switch (algo) in HAL_CRYP_Encrypt()
1317 uint32_t algo; in HAL_CRYP_Decrypt() local
1353 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Decrypt()
1355 switch (algo) in HAL_CRYP_Decrypt()
1416 uint32_t algo; in HAL_CRYP_Encrypt_IT() local
1472 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Encrypt_IT()
1474 switch (algo) in HAL_CRYP_Encrypt_IT()
1526 uint32_t algo; in HAL_CRYP_Decrypt_IT() local
[all …]
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_hal_cryp.c1215 uint32_t algo; in HAL_CRYP_Encrypt() local
1252 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Encrypt()
1254 switch (algo) in HAL_CRYP_Encrypt()
1317 uint32_t algo; in HAL_CRYP_Decrypt() local
1353 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Decrypt()
1355 switch (algo) in HAL_CRYP_Decrypt()
1416 uint32_t algo; in HAL_CRYP_Encrypt_IT() local
1472 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Encrypt_IT()
1474 switch (algo) in HAL_CRYP_Encrypt_IT()
1526 uint32_t algo; in HAL_CRYP_Decrypt_IT() local
[all …]
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_cryp.c949 uint32_t algo; in HAL_CRYP_Encrypt() local
981 algo = hcryp->Instance->CR & CRYP_CR_ALGOMODE; in HAL_CRYP_Encrypt()
983 switch (algo) in HAL_CRYP_Encrypt()
1054 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Encrypt()
1056 switch (algo) in HAL_CRYP_Encrypt()
1123 uint32_t algo; in HAL_CRYP_Decrypt() local
1155 algo = hcryp->Instance->CR & CRYP_CR_ALGOMODE; in HAL_CRYP_Decrypt()
1157 switch (algo) in HAL_CRYP_Decrypt()
1228 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Decrypt()
1230 switch (algo) in HAL_CRYP_Decrypt()
[all …]
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_hal_cryp.c949 uint32_t algo; in HAL_CRYP_Encrypt() local
981 algo = hcryp->Instance->CR & CRYP_CR_ALGOMODE; in HAL_CRYP_Encrypt()
983 switch (algo) in HAL_CRYP_Encrypt()
1054 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Encrypt()
1056 switch (algo) in HAL_CRYP_Encrypt()
1123 uint32_t algo; in HAL_CRYP_Decrypt() local
1155 algo = hcryp->Instance->CR & CRYP_CR_ALGOMODE; in HAL_CRYP_Decrypt()
1157 switch (algo) in HAL_CRYP_Decrypt()
1228 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Decrypt()
1230 switch (algo) in HAL_CRYP_Decrypt()
[all …]
/hal_stm32-latest/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_hal_cryp.c1312 uint32_t algo; in HAL_CRYP_Encrypt() local
1349 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Encrypt()
1351 switch (algo) in HAL_CRYP_Encrypt()
1413 uint32_t algo; in HAL_CRYP_Decrypt() local
1449 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Decrypt()
1451 switch (algo) in HAL_CRYP_Decrypt()
1512 uint32_t algo; in HAL_CRYP_Encrypt_IT() local
1568 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Encrypt_IT()
1570 switch (algo) in HAL_CRYP_Encrypt_IT()
1622 uint32_t algo; in HAL_CRYP_Decrypt_IT() local
[all …]
/hal_stm32-latest/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_hal_cryp.c910 uint32_t algo; in HAL_CRYP_Encrypt() local
941 algo = hcryp->Instance->CR & CRYP_CR_ALGOMODE; in HAL_CRYP_Encrypt()
943 switch (algo) in HAL_CRYP_Encrypt()
1041 uint32_t algo; in HAL_CRYP_Decrypt() local
1071 algo = hcryp->Instance->CR & CRYP_CR_ALGOMODE; in HAL_CRYP_Decrypt()
1073 switch (algo) in HAL_CRYP_Decrypt()
1169 uint32_t algo; in HAL_CRYP_Encrypt_IT() local
1200 algo = (hcryp->Instance->CR & CRYP_CR_ALGOMODE); in HAL_CRYP_Encrypt_IT()
1202 switch (algo) in HAL_CRYP_Encrypt_IT()
1286 uint32_t algo; in HAL_CRYP_Decrypt_IT() local
[all …]
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_cryp.c1374 uint32_t algo; in HAL_CRYP_Encrypt() local
1430 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Encrypt()
1432 switch (algo) in HAL_CRYP_Encrypt()
1487 uint32_t algo; in HAL_CRYP_Decrypt() local
1533 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Decrypt()
1535 switch (algo) in HAL_CRYP_Decrypt()
1589 uint32_t algo; in HAL_CRYP_Encrypt_IT() local
1649 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Encrypt_IT()
1651 switch (algo) in HAL_CRYP_Encrypt_IT()
1700 uint32_t algo; in HAL_CRYP_Decrypt_IT() local
[all …]
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_cryp.c917 uint32_t algo; in HAL_CRYP_Encrypt() local
948 algo = hcryp->Instance->CR & CRYP_CR_ALGOMODE; in HAL_CRYP_Encrypt()
950 switch (algo) in HAL_CRYP_Encrypt()
1048 uint32_t algo; in HAL_CRYP_Decrypt() local
1078 algo = hcryp->Instance->CR & CRYP_CR_ALGOMODE; in HAL_CRYP_Decrypt()
1080 switch (algo) in HAL_CRYP_Decrypt()
1176 uint32_t algo; in HAL_CRYP_Encrypt_IT() local
1207 algo = (hcryp->Instance->CR & CRYP_CR_ALGOMODE); in HAL_CRYP_Encrypt_IT()
1209 switch (algo) in HAL_CRYP_Encrypt_IT()
1293 uint32_t algo; in HAL_CRYP_Decrypt_IT() local
[all …]
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/
Dstm32n6xx_hal_cryp.c409 static uint32_t CRYP_SAES_AlgoConversion(uint32_t algo, uint32_t order);
1469 uint32_t algo = 0U; in HAL_CRYP_Encrypt() local
1503 algo = ((CRYP_TypeDef *)(hcryp->Instance))->CR & CRYP_CR_ALGOMODE; in HAL_CRYP_Encrypt()
1512 algo = CRYP_SAES_AlgoConversion((((SAES_TypeDef *)(hcryp->Instance))->CR & SAES_CR_CHMOD), in HAL_CRYP_Encrypt()
1517 switch (algo) in HAL_CRYP_Encrypt()
1582 uint32_t algo = 0U; in HAL_CRYP_Decrypt() local
1615 algo = ((CRYP_TypeDef *)(hcryp->Instance))->CR & CRYP_CR_ALGOMODE; in HAL_CRYP_Decrypt()
1624 algo = CRYP_SAES_AlgoConversion((((SAES_TypeDef *)(hcryp->Instance))->CR & SAES_CR_CHMOD), in HAL_CRYP_Decrypt()
1629 switch (algo) in HAL_CRYP_Decrypt()
1691 uint32_t algo = 0U; in HAL_CRYP_Encrypt_IT() local
[all …]
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_hal_cryp.c400 static uint32_t CRYP_SAES_AlgoConversion(uint32_t algo, uint32_t order);
1453 uint32_t algo = 0U; in HAL_CRYP_Encrypt() local
1487 algo = ((CRYP_TypeDef *)(hcryp->Instance))->CR & CRYP_CR_ALGOMODE; in HAL_CRYP_Encrypt()
1496 algo = CRYP_SAES_AlgoConversion((((SAES_TypeDef *)(hcryp->Instance))->CR & SAES_CR_CHMOD), in HAL_CRYP_Encrypt()
1501 switch (algo) in HAL_CRYP_Encrypt()
1566 uint32_t algo = 0U; in HAL_CRYP_Decrypt() local
1599 algo = ((CRYP_TypeDef *)(hcryp->Instance))->CR & CRYP_CR_ALGOMODE; in HAL_CRYP_Decrypt()
1608 algo = CRYP_SAES_AlgoConversion((((SAES_TypeDef *)(hcryp->Instance))->CR & SAES_CR_CHMOD), in HAL_CRYP_Decrypt()
1613 switch (algo) in HAL_CRYP_Decrypt()
1675 uint32_t algo = 0U; in HAL_CRYP_Encrypt_IT() local
[all …]