| M480 BSP V3.05.001 The Board Support Package for M480 Series

Macros
CRYPTO Exported Macros
Standard Driver » CRYPTO Driver

## Macros
#define | PRNG_ENABLE_INT(crpt)
| This macro enables PRNG interrupt. More...
#define | PRNG_DISABLE_INT(crpt)
| This macro disables PRNG interrupt. More...
#define | PRNG_GET_INT_FLAG(crpt)
| This macro gets PRNG interrupt flag. More...
#define | PRNG_CLR_INT_FLAG(crpt)
| This macro clears PRNG interrupt flag. More...
#define | AES_ENABLE_INT(crpt)
| This macro enables AES interrupt. More...
#define | AES_DISABLE_INT(crpt)
| This macro disables AES interrupt. More...
#define | AES_GET_INT_FLAG(crpt)
| This macro gets AES interrupt flag. More...
#define | AES_CLR_INT_FLAG(crpt)
| This macro clears AES interrupt flag. More...
#define | AES_ENABLE_KEY_PROTECT(crpt)
| This macro enables AES key protection. More...
#define | AES_DISABLE_KEY_PROTECT(crpt)
| This macro disables AES key protection. More...
#define | TDES_ENABLE_INT(crpt)
| This macro enables TDES interrupt. More...
#define | TDES_DISABLE_INT(crpt)
| This macro disables TDES interrupt. More...
#define | TDES_GET_INT_FLAG(crpt)
| This macro gets TDES interrupt flag. More...
#define | TDES_CLR_INT_FLAG(crpt)
| This macro clears TDES interrupt flag. More...
#define | TDES_ENABLE_KEY_PROTECT(crpt)
| This macro enables TDES key protection. More...
#define | TDES_DISABLE_KEY_PROTECT(crpt)
| This macro disables TDES key protection. More...
#define | SHA_ENABLE_INT(crpt)
| This macro enables SHA interrupt. More...
#define | SHA_DISABLE_INT(crpt)
| This macro disables SHA interrupt. More...
#define | SHA_GET_INT_FLAG(crpt)
| This macro gets SHA interrupt flag. More...
#define | SHA_CLR_INT_FLAG(crpt)
| This macro clears SHA interrupt flag. More...
#define | ECC_ENABLE_INT(crpt)
| This macro enables ECC interrupt. More...
#define | ECC_DISABLE_INT(crpt)
| This macro disables ECC interrupt. More...
#define | ECC_GET_INT_FLAG(crpt)
| This macro gets ECC interrupt flag. More...
#define | ECC_CLR_INT_FLAG(crpt)
| This macro clears ECC interrupt flag. More...

## Detailed Description

## Macro Definition Documentation

## ◆ AES_CLR_INT_FLAG

#define AES_CLR_INT_FLAG | ( |  | crpt | ) |

This macro clears AES interrupt flag.

Parameters

  crpt | Specified cripto module

Returns
  None

Definition at line 194 of file crypto.h.

## ◆ AES_DISABLE_INT

#define AES_DISABLE_INT | ( |  | crpt | ) |

This macro disables AES interrupt.

Parameters

  crpt | Specified cripto module

Returns
  None

Definition at line 178 of file crypto.h.

## ◆ AES_DISABLE_KEY_PROTECT

#define AES_DISABLE_KEY_PROTECT | ( |  | crpt | ) |

This macro disables AES key protection.

Parameters

  crpt | Specified cripto module

Returns
  None

Definition at line 210 of file crypto.h.

## ◆ AES_ENABLE_INT

#define AES_ENABLE_INT | ( |  | crpt | ) |

This macro enables AES interrupt.

Parameters

  crpt | Specified cripto module

Returns
  None

Definition at line 170 of file crypto.h.

## ◆ AES_ENABLE_KEY_PROTECT

#define AES_ENABLE_KEY_PROTECT | ( |  | crpt | ) |

This macro enables AES key protection.

Parameters

  crpt | Specified cripto module

Returns
  None

Definition at line 202 of file crypto.h.

## ◆ AES_GET_INT_FLAG

#define AES_GET_INT_FLAG | ( |  | crpt | ) |

This macro gets AES interrupt flag.

Parameters

  crpt | Specified cripto module

Returns
  AES interrupt flag.

Definition at line 186 of file crypto.h.

## ◆ ECC_CLR_INT_FLAG

#define ECC_CLR_INT_FLAG | ( |  | crpt | ) |

This macro clears ECC interrupt flag.

Parameters

  crpt | Specified cripto module

Returns
  None

Definition at line 324 of file crypto.h.

## ◆ ECC_DISABLE_INT

#define ECC_DISABLE_INT | ( |  | crpt | ) |

This macro disables ECC interrupt.

Parameters

  crpt | Specified cripto module

Returns
  None

Definition at line 308 of file crypto.h.

## ◆ ECC_ENABLE_INT

#define ECC_ENABLE_INT | ( |  | crpt | ) |

This macro enables ECC interrupt.

Parameters

  crpt | Specified cripto module

Returns
  None

Definition at line 300 of file crypto.h.

## ◆ ECC_GET_INT_FLAG

#define ECC_GET_INT_FLAG | ( |  | crpt | ) |

This macro gets ECC interrupt flag.

Parameters

  crpt | Specified cripto module

Returns
  ECC interrupt flag.

Definition at line 316 of file crypto.h.

## ◆ PRNG_CLR_INT_FLAG

#define PRNG_CLR_INT_FLAG | ( |  | crpt | ) |

This macro clears PRNG interrupt flag.

Parameters

  crpt | Specified cripto module

Returns
  None

Definition at line 162 of file crypto.h.

## ◆ PRNG_DISABLE_INT

#define PRNG_DISABLE_INT | ( |  | crpt | ) |

This macro disables PRNG interrupt.

Parameters

  crpt | Specified cripto module

Returns
  None

Definition at line 146 of file crypto.h.

## ◆ PRNG_ENABLE_INT

#define PRNG_ENABLE_INT | ( |  | crpt | ) |

This macro enables PRNG interrupt.

Parameters

  crpt | Specified cripto module

Returns
  None

Definition at line 138 of file crypto.h.

## ◆ PRNG_GET_INT_FLAG

#define PRNG_GET_INT_FLAG | ( |  | crpt | ) |

This macro gets PRNG interrupt flag.

Parameters

  crpt | Specified cripto module

Returns
  PRNG interrupt flag.

Definition at line 154 of file crypto.h.

## ◆ SHA_CLR_INT_FLAG

#define SHA_CLR_INT_FLAG | ( |  | crpt | ) |

This macro clears SHA interrupt flag.

Parameters

  crpt | Specified cripto module

Returns
  None

Definition at line 292 of file crypto.h.

## ◆ SHA_DISABLE_INT

#define SHA_DISABLE_INT | ( |  | crpt | ) |

This macro disables SHA interrupt.

Parameters

  crpt | Specified cripto module

Returns
  None

Definition at line 276 of file crypto.h.

## ◆ SHA_ENABLE_INT

#define SHA_ENABLE_INT | ( |  | crpt | ) |

This macro enables SHA interrupt.

Parameters

  crpt | Specified cripto module

Returns
  None

Definition at line 268 of file crypto.h.

## ◆ SHA_GET_INT_FLAG

#define SHA_GET_INT_FLAG | ( |  | crpt | ) |

This macro gets SHA interrupt flag.

Parameters

  crpt | Specified cripto module

Returns
  SHA interrupt flag.

Definition at line 284 of file crypto.h.

## ◆ TDES_CLR_INT_FLAG

#define TDES_CLR_INT_FLAG | ( |  | crpt | ) |

This macro clears TDES interrupt flag.

Parameters

  crpt | Specified cripto module

Returns
  None

Definition at line 243 of file crypto.h.

## ◆ TDES_DISABLE_INT

#define TDES_DISABLE_INT | ( |  | crpt | ) |

This macro disables TDES interrupt.

Parameters

  crpt | Specified cripto module

Returns
  None

Definition at line 227 of file crypto.h.

## ◆ TDES_DISABLE_KEY_PROTECT

#define TDES_DISABLE_KEY_PROTECT | ( |  | crpt | ) |

This macro disables TDES key protection.

Parameters

  crpt | Specified cripto module

Returns
  None

Definition at line 259 of file crypto.h.

## ◆ TDES_ENABLE_INT

#define TDES_ENABLE_INT | ( |  | crpt | ) |

This macro enables TDES interrupt.

Parameters

  crpt | Specified cripto module

Returns
  None

Definition at line 219 of file crypto.h.

## ◆ TDES_ENABLE_KEY_PROTECT

#define TDES_ENABLE_KEY_PROTECT | ( |  | crpt | ) |

This macro enables TDES key protection.

Parameters

  crpt | Specified cripto module

Returns
  None

Definition at line 251 of file crypto.h.

## ◆ TDES_GET_INT_FLAG

#define TDES_GET_INT_FLAG | ( |  | crpt | ) |

This macro gets TDES interrupt flag.

Parameters

  crpt | Specified cripto module

Returns
  TDES interrupt flag.

Definition at line 235 of file crypto.h.