cregit-Linux how code gets into the kernel

Release 4.16 drivers/staging/ccree/cc_fips.h

/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright (C) 2012-2018 ARM Limited or its affiliates. */

#ifndef __CC_FIPS_H__

#define __CC_FIPS_H__

#ifdef CONFIG_CRYPTO_FIPS


enum cc_fips_status {
	
CC_FIPS_SYNC_MODULE_OK = 0x0,
	
CC_FIPS_SYNC_MODULE_ERROR = 0x1,
	
CC_FIPS_SYNC_REE_STATUS = 0x4,
	
CC_FIPS_SYNC_TEE_STATUS = 0x8,
	
CC_FIPS_SYNC_STATUS_RESERVE32B = S32_MAX
};

int cc_fips_init(struct cc_drvdata *p_drvdata);
void cc_fips_fini(struct cc_drvdata *drvdata);
void fips_handler(struct cc_drvdata *drvdata);
void cc_set_ree_fips_status(struct cc_drvdata *drvdata, bool ok);

#else  /* CONFIG_CRYPTO_FIPS */


static inline int cc_fips_init(struct cc_drvdata *p_drvdata) { return 0; }

Contributors

PersonTokensPropCommitsCommitProp
Gilad Ben-Yossef15100.00%3100.00%
Total15100.00%3100.00%


static inline void cc_fips_fini(struct cc_drvdata *drvdata) {}

Contributors

PersonTokensPropCommitsCommitProp
Gilad Ben-Yossef11100.00%3100.00%
Total11100.00%3100.00%


static inline void cc_set_ree_fips_status(struct cc_drvdata *drvdata, bool ok) {}

Contributors

PersonTokensPropCommitsCommitProp
Gilad Ben-Yossef1285.71%266.67%
rishabh hardas214.29%133.33%
Total14100.00%3100.00%


static inline void fips_handler(struct cc_drvdata *drvdata) {}

Contributors

PersonTokensPropCommitsCommitProp
Gilad Ben-Yossef981.82%266.67%
rishabh hardas218.18%133.33%
Total11100.00%3100.00%

#endif /* CONFIG_CRYPTO_FIPS */ #endif /*__CC_FIPS_H__*/

Overall Contributors

PersonTokensPropCommitsCommitProp
Gilad Ben-Yossef13097.01%888.89%
rishabh hardas42.99%111.11%
Total134100.00%9100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.